Skip oauth_token_monitoring in podcast mode, add required deps
This commit is contained in:
@@ -179,8 +179,11 @@ from services.startup_health import (
|
|||||||
|
|
||||||
# Trigger reload for monitoring fix
|
# Trigger reload for monitoring fix
|
||||||
|
|
||||||
# Import OAuth token monitoring routes
|
# Import OAuth token monitoring routes (skip in podcast-only mode)
|
||||||
from api.oauth_token_monitoring_routes import router as oauth_token_monitoring_router
|
if not is_podcast_only_demo_mode():
|
||||||
|
from api.oauth_token_monitoring_routes import router as oauth_token_monitoring_router
|
||||||
|
else:
|
||||||
|
oauth_token_monitoring_router = None
|
||||||
|
|
||||||
# Import SEO Dashboard endpoints
|
# Import SEO Dashboard endpoints
|
||||||
from api.seo_dashboard import (
|
from api.seo_dashboard import (
|
||||||
@@ -595,7 +598,8 @@ if not PODCAST_ONLY_DEMO_MODE:
|
|||||||
# Scheduler dashboard routes
|
# Scheduler dashboard routes
|
||||||
from api.scheduler_dashboard import router as scheduler_dashboard_router
|
from api.scheduler_dashboard import router as scheduler_dashboard_router
|
||||||
app.include_router(scheduler_dashboard_router)
|
app.include_router(scheduler_dashboard_router)
|
||||||
app.include_router(oauth_token_monitoring_router)
|
if oauth_token_monitoring_router:
|
||||||
|
app.include_router(oauth_token_monitoring_router)
|
||||||
|
|
||||||
# Autonomous Agents API routes (Phase 3A)
|
# Autonomous Agents API routes (Phase 3A)
|
||||||
from api.agents_api import router as agents_router
|
from api.agents_api import router as agents_router
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ huggingface_hub>=1.1.4
|
|||||||
|
|
||||||
# TTS for podcast
|
# TTS for podcast
|
||||||
gtts>=2.4.0
|
gtts>=2.4.0
|
||||||
|
pyttsx3>=2.90
|
||||||
|
|
||||||
# Video composition
|
# Video composition
|
||||||
moviepy==2.1.2
|
moviepy==2.1.2
|
||||||
|
|||||||
Reference in New Issue
Block a user