Update App/Worker.py
Browse files- App/Worker.py +3 -3
App/Worker.py
CHANGED
@@ -304,10 +304,10 @@ async def celery_task(video_task: EditorRequest):
|
|
304 |
render_video(temp_dir, output_dir)
|
305 |
change_playback_speed(output_dir, 1.2)
|
306 |
# unsilence(temp_dir)
|
307 |
-
response: YouTubeUploadTask = tagger(narration="", response_model=YouTubeUploadTask)
|
308 |
|
309 |
-
response.filename = output_dir
|
310 |
-
upload_video_to_youtube(task=response)
|
311 |
await cleanup_temp_directory(temp_dir, output_dir, video_task)
|
312 |
|
313 |
# chain(
|
|
|
304 |
render_video(temp_dir, output_dir)
|
305 |
change_playback_speed(output_dir, 1.2)
|
306 |
# unsilence(temp_dir)
|
307 |
+
# response: YouTubeUploadTask = tagger(narration="", response_model=YouTubeUploadTask)
|
308 |
|
309 |
+
# response.filename = output_dir
|
310 |
+
# upload_video_to_youtube(task=response)
|
311 |
await cleanup_temp_directory(temp_dir, output_dir, video_task)
|
312 |
|
313 |
# chain(
|