Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def translate_english_to_hindi(english_text):
|
|
29 |
|
30 |
|
31 |
def translate_to_english(audio):
|
32 |
-
outputs = asr_pipe(audio, generate_kwargs={"task": "transcribe", "use_cache":"True", "max_new_tokens":
|
33 |
return outputs["text"]
|
34 |
|
35 |
def synthesise(text):
|
|
|
29 |
|
30 |
|
31 |
def translate_to_english(audio):
|
32 |
+
outputs = asr_pipe(audio, generate_kwargs={"task": "transcribe", "use_cache":"True", "max_new_tokens":128})
|
33 |
return outputs["text"]
|
34 |
|
35 |
def synthesise(text):
|