Clean up launch (remove diagnostics); document CPU-for-stub / ZeroGPU-for-real-model 847a58e verified nz-nz commited on 10 days ago
diag: log launch flow + hold main thread with Event().wait() 0bc2fd8 verified nz-nz commited on 10 days ago
Add required @app .api endpoint to gradio.Server (empty Blocks exits on Space) 4e70816 verified nz-nz commited on 10 days ago
Pin gradio to 6.10.0 (custom gradio.Server works on Space + keeps hub<1.0); simplify launch efca112 verified nz-nz commited on 10 days ago
Make SpacesReloader.postrun crash-tolerant so the custom gradio.Server stays RUNNING on the Space 241bdc2 verified nz-nz commited on 10 days ago
Bypass gradio SpacesReloader (hide SYSTEM during launch) so the custom Server stays up on 7860 b688eaa verified nz-nz commited on 10 days ago
Fix Space RUNTIME_ERROR: publish demo=app.blocks for SpacesReloader, block_thread to stay alive 4d74f1c verified nz-nz commited on 10 days ago
Disable hot-reload via Space var so launch() blocks (keep server alive on 7860) 1eec565 verified nz-nz commited on 10 days ago
Opt out of gradio hot-reload so launch() blocks and the Space stays up on 7860 f833db9 verified nz-nz commited on 10 days ago
Use top-level gradio.Server launch; drop /gradio mount (fixes 7860 collision) 2220375 verified nz-nz commited on 10 days ago
Disable gradio SSR so the app binds port 7860 directly (no Node needed on Space) 30ed0bd verified nz-nz commited on 10 days ago
Fix Space startup: use gradio.Server (not manual uvicorn) so port 7860 binds correctly 8182c0f verified nz-nz commited on 10 days ago