Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

fix AudioFile offline import #35

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

emphasize
Copy link
Member

move to global import, since it is required with OfflineBackend().get_stt()
Unluckily i haven't saved the exception, but should be self-explanatory.

@JarbasAl
Copy link
Member

JarbasAl commented Apr 21, 2023

this was on purpose, ovos-backend-client almost never requires this dep, only if you are running offline and some code manually calls STTApi for compat. this is optional and should not be top level as the import will fail 99% of the time and that is fine

import comes from https://github.com/OpenVoiceOS/ovos-backend-client/blob/dev/requirements/offline.txt

@JarbasAl JarbasAl closed this Apr 21, 2023
@JarbasAl JarbasAl reopened this Apr 21, 2023
@JarbasAl JarbasAl merged commit 8764d8a into OpenVoiceOS:dev Apr 21, 2023
@github-actions github-actions bot mentioned this pull request Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants