susnato commited on
Commit
e6e41df
1 Parent(s): 4bbe06f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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":"128"})
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):