From 54bf0a53f5fd233a2fd1d319c4e47bda02ebb1cc Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Thu, 9 Jul 2026 11:19:16 +0800 Subject: [PATCH] 1 --- video-gen-api/app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video-gen-api/app/main.py b/video-gen-api/app/main.py index d42bc95f..6fe1afae 100644 --- a/video-gen-api/app/main.py +++ b/video-gen-api/app/main.py @@ -29,7 +29,7 @@ async def lifespan(app: FastAPI): os.makedirs(settings.UPLOAD_LOCAL_PATH, exist_ok=True) await init_database() await init_redis() - await _seed_data() + # await _seed_data() # Start task queue (handles both video and image generation) from app.services.video_queue import task_queue @@ -120,7 +120,7 @@ async def lifespan(app: FastAPI): await close_redis() -# async def _seed_data(): +async def _seed_data(): """Insert initial data on first run.""" from app.models import async_session from app.models.user import User