Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ from easynmt import EasyNMT
|
|
25 |
translation_model = EasyNMT('m2m_100_418M', max_new_tokens=60, max_length=60)
|
26 |
|
27 |
asr_model = whisper.load_model("base")
|
28 |
-
transcribe_options = dict(beam_size=3, best_of=3, without_timestamps=False)
|
29 |
|
30 |
translation_models = {
|
31 |
"Finnish": "fi",
|
|
|
25 |
translation_model = EasyNMT('m2m_100_418M', max_new_tokens=60, max_length=60)
|
26 |
|
27 |
asr_model = whisper.load_model("base")
|
28 |
+
transcribe_options = dict(beam_size=3, best_of=3, without_timestamps=False, language="Spanish")
|
29 |
|
30 |
translation_models = {
|
31 |
"Finnish": "fi",
|