Spaces:
Runtime error
Runtime error
kabita-choudhary
commited on
Commit
·
4fa886d
1
Parent(s):
d74f7a6
Update app.py
Browse files
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"]
|
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 |
|