vitaliy-sharandin
commited on
Commit
•
b4e21e9
1
Parent(s):
c00a37b
Update app.py
Browse files
app.py
CHANGED
@@ -274,7 +274,7 @@ def translate_video(video_path, youtube_link, target_language, speaker_model):
|
|
274 |
except Exception as e:
|
275 |
print(f"An error occurred: {e}")
|
276 |
raise e
|
277 |
-
return translation_limit_info, gr.components.Video(dubbed_video)
|
278 |
|
279 |
def translation_limit():
|
280 |
translator = deepl.Translator(DEEPL_TOKEN)
|
|
|
274 |
except Exception as e:
|
275 |
print(f"An error occurred: {e}")
|
276 |
raise e
|
277 |
+
return gr.Markdown(translation_limit_info), gr.components.Video(dubbed_video)
|
278 |
|
279 |
def translation_limit():
|
280 |
translator = deepl.Translator(DEEPL_TOKEN)
|