Spaces:
Runtime error
Runtime error
print stuff
Browse files
app.py
CHANGED
@@ -47,6 +47,8 @@ def client(audio_data: np.array, sample_rate: int, default_lang: str):
|
|
47 |
audio = np.frombuffer(fin.readframes(fin.getnframes()), np.int16)
|
48 |
|
49 |
fin.close()
|
|
|
|
|
50 |
|
51 |
if text_lab == 'Spanish':
|
52 |
processor, model = STT_MODELS['español']
|
|
|
47 |
audio = np.frombuffer(fin.readframes(fin.getnframes()), np.int16)
|
48 |
|
49 |
fin.close()
|
50 |
+
print(STT_MODELS)
|
51 |
+
print(default_lang, text_lab)
|
52 |
|
53 |
if text_lab == 'Spanish':
|
54 |
processor, model = STT_MODELS['español']
|