diff options
| -rw-r--r-- | client/stt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/stt.py b/client/stt.py index e441066..f5254ca 100644 --- a/client/stt.py +++ b/client/stt.py @@ -240,7 +240,7 @@ class GoogleSTT(AbstractSTTEngine): config = {} # HMM dir # Try to get hmm_dir from config - profile_path = os.path.join(os.path.dirname(__file__), 'profile.yml') + profile_path = jasperpath.config('profile.yml') if os.path.exists(profile_path): with open(profile_path, 'r') as f: profile = yaml.safe_load(f) |
