Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def transcribe_audio(filepath, src_language, tgt_language):
|
|
| 46 |
tgt_lang=flores_200_df.loc[int(tgt_language),'FLORES_200_code'])[0]['translation_text']
|
| 47 |
translations.append(translation+'.')
|
| 48 |
|
| 49 |
-
output = ' '.join(translations)
|
| 50 |
|
| 51 |
print(output)
|
| 52 |
return output
|
|
|
|
| 46 |
tgt_lang=flores_200_df.loc[int(tgt_language),'FLORES_200_code'])[0]['translation_text']
|
| 47 |
translations.append(translation+'.')
|
| 48 |
|
| 49 |
+
output = ' '.join(translations)
|
| 50 |
|
| 51 |
print(output)
|
| 52 |
return output
|