Update app.py
Browse files
app.py
CHANGED
@@ -215,6 +215,7 @@ def process_video(url):
|
|
215 |
subtitle_clips = create_subtitle_clips(subtitles, video.size, 32, 'arial.ttf', 'yellow', False)
|
216 |
final_video = CompositeVideoClip([video] + subtitle_clips)
|
217 |
final_video.write_videofile(output_video_file, codec="libx264", audio_codec="aac", logger=None)
|
|
|
218 |
return output_video_file
|
219 |
|
220 |
#def download_file(file_path):
|
|
|
215 |
subtitle_clips = create_subtitle_clips(subtitles, video.size, 32, 'arial.ttf', 'yellow', False)
|
216 |
final_video = CompositeVideoClip([video] + subtitle_clips)
|
217 |
final_video.write_videofile(output_video_file, codec="libx264", audio_codec="aac", logger=None)
|
218 |
+
print('final')
|
219 |
return output_video_file
|
220 |
|
221 |
#def download_file(file_path):
|