Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def main(url, clip_type, progress=gr.Progress()):
|
|
| 52 |
progress(35, desc="transcribe")
|
| 53 |
subtitle_file = translate(srt_list)
|
| 54 |
progress(55, desc="translate")
|
| 55 |
-
output_video_file = dub(subtitle_file)
|
| 56 |
progress(100, desc="finish")
|
| 57 |
os.remove(subtitle_file)
|
| 58 |
else:
|
|
|
|
| 52 |
progress(35, desc="transcribe")
|
| 53 |
subtitle_file = translate(srt_list)
|
| 54 |
progress(55, desc="translate")
|
| 55 |
+
output_video_file = dub(subtitle_file, video)
|
| 56 |
progress(100, desc="finish")
|
| 57 |
os.remove(subtitle_file)
|
| 58 |
else:
|