celery async
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
@@ -115,7 +115,7 @@ def cleanup_temp_directory(
|
|
115 |
|
116 |
|
117 |
@celery.task(name="All")
|
118 |
-
|
119 |
remotion_app_dir = os.path.join("/srv", "Remotion-app")
|
120 |
project_id = str(uuid.uuid4())
|
121 |
temp_dir = f"/tmp/{project_id}"
|
|
|
115 |
|
116 |
|
117 |
@celery.task(name="All")
|
118 |
+
def celery_task(video_task: EditorRequest):
|
119 |
remotion_app_dir = os.path.join("/srv", "Remotion-app")
|
120 |
project_id = str(uuid.uuid4())
|
121 |
temp_dir = f"/tmp/{project_id}"
|