Spaces:
Sleeping
Sleeping
Commit
•
c65d1a4
1
Parent(s):
d0e5123
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def app(video_path, original_language, target_language):
|
|
13 |
translate = Translate(video_path, target_language, original_language)
|
14 |
translated_file = translate.transcribe_and_translate()
|
15 |
# Return video in the output
|
16 |
-
return gr.
|
17 |
|
18 |
interface = gr.Interface(
|
19 |
fn=app,
|
|
|
13 |
translate = Translate(video_path, target_language, original_language)
|
14 |
translated_file = translate.transcribe_and_translate()
|
15 |
# Return video in the output
|
16 |
+
return gr.components.File(translated_file)
|
17 |
|
18 |
interface = gr.Interface(
|
19 |
fn=app,
|