Spaces:
Sleeping
Sleeping
Commit History
-
fix: restore COMPONENTS init block + session_manager DB persistence + Gunicorn config
app.py: - Restore accidentally-removed COMPONENTS initialization block (knowledge_manager, session_manager, orchestrator, editor, batch_manager) - session_manager now initialized with knowledge_manager.store -> DB-backed session state survives worker restarts via SQLite on /data - Remove activation route + LICENSE ENFORCEMENT middleware (HF bypasses anyway) - Remove license_manager import (dead on HF Spaces) Procfile: - workers 2 threads 4 timeout 120 -> workers 1 threads 8 timeout 300 - Single process: all threads share project_progress dict (no state split) - 8 threads: handles concurrent requests during 60s generation tasks - 300s timeout: covers full generation cycle without Gunicorn killing worker Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2eb5f65
-
Initial HF Spaces deployment (clean branch without large binaries)
38f9c15