优化入口逻辑

This commit is contained in:
puke
2025-10-28 11:31:13 +08:00
committed by puke
parent 535ebee645
commit 18b4152f39
6 changed files with 35 additions and 61 deletions

View File

@@ -3,13 +3,3 @@ ReelForge API Layer
FastAPI-based REST API for video generation services.
"""
# Lazy import to avoid loading dependencies until needed
def get_app():
"""Get FastAPI app instance (lazy loading)"""
from api.app import app
return app
__all__ = ["get_app"]