支持fastapi服务
This commit is contained in:
15
api/__init__.py
Normal file
15
api/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user