Fix deployment: add gunicorn to minimal deps, use start_alwrity_backend.py

This commit is contained in:
ajaysi
2026-04-06 07:16:11 +05:30
parent 2b025673d6
commit 27147d50a5
2 changed files with 2 additions and 0 deletions

View File

@@ -376,6 +376,7 @@ def start_backend(enable_reload=False, production_mode=False):
return False
print(f"[DEBUG] Starting uvicorn with host={host} port={port}", flush=True)
print("[DEBUG] >>> ABOUT TO CALL UVICORN.RUN() <<<", flush=True)
# Skip video preflight in podcast-only mode to save memory/time
is_podcast = os.getenv("ALWRITY_ENABLED_FEATURES", "").strip().lower() == "podcast"