Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,7 +215,7 @@ def process_video(url):
|
|
| 215 |
subtitle_clips = create_subtitle_clips(subtitles, video.size)
|
| 216 |
final_video = CompositeVideoClip([video] + subtitle_clips)
|
| 217 |
final_video.write_videofile(output_video_file, codec="libx264", audio_codec="aac")
|
| 218 |
-
return
|
| 219 |
|
| 220 |
#def download_file(file_path):
|
| 221 |
# return gr.File.update(file_path)
|
|
|
|
| 215 |
subtitle_clips = create_subtitle_clips(subtitles, video.size)
|
| 216 |
final_video = CompositeVideoClip([video] + subtitle_clips)
|
| 217 |
final_video.write_videofile(output_video_file, codec="libx264", audio_codec="aac")
|
| 218 |
+
return output_video_file
|
| 219 |
|
| 220 |
#def download_file(file_path):
|
| 221 |
# return gr.File.update(file_path)
|