Spaces:
Sleeping
Sleeping
Salman11223
commited on
Commit
•
d0e5123
1
Parent(s):
9518bb4
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.Video(translated_file)
|
17 |
|
18 |
interface = gr.Interface(
|
19 |
fn=app,
|