kabita-choudhary commited on
Commit
4fa886d
·
1 Parent(s): d74f7a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def translate(input_video):
31
  result_translate = model.transcribe(audio_file,**translate_options)
32
  result_transcribe = model.transcribe(audio_file,**transcribe_options)
33
 
34
- return result_transcribe["text"]+" ---Translated text in english ---- "+result_translate["text"]
35
  block = gr.Blocks()
36
  with block:
37
 
 
31
  result_translate = model.transcribe(audio_file,**translate_options)
32
  result_transcribe = model.transcribe(audio_file,**transcribe_options)
33
 
34
+ return result_transcribe["text"] #+" ---Translated text in english ---- "+result_translate["text"]
35
  block = gr.Blocks()
36
  with block:
37