From 441735d019d012c68a06e877a4bb446c5a9271b5 Mon Sep 17 00:00:00 2001 From: backend-agent Date: Thu, 10 Sep 2026 20:38:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(lipsync-tts):=20=E4=BF=AE=E6=AD=A3=20celery?= =?UTF-8?q?=5Fapp=20=E5=AF=BC=E5=85=A5=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apps.worker.worker_app.celery_app 在 api 服务镜像内不存在, 参考同目录 ai_avatar_render.py 改为 app.core.celery_app。 修复 staging 部署后 api 容器启动失败(ImportError)。 --- apps/api/app/tasks/lipsync_tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/app/tasks/lipsync_tts.py b/apps/api/app/tasks/lipsync_tts.py index 45e1ed11e..6c9fa417e 100644 --- a/apps/api/app/tasks/lipsync_tts.py +++ b/apps/api/app/tasks/lipsync_tts.py @@ -15,7 +15,7 @@ import io import logging from datetime import datetime, timezone -from apps.worker.worker_app.celery_app import celery_app +from app.core.celery_app import celery_app logger = logging.getLogger(__name__) -- 2.54.0