Nidhamtek Claude Opus 4.6 commited on
Commit
637c3b4
·
1 Parent(s): f71c21a

Remove ssr_mode=False to fix HF health check

Browse files

HF Spaces health check may require SSR mode (default in Gradio 6.x).
The app serves HTTP 200 but HF stays in APP_STARTING because the
health endpoint isn't available without SSR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,4 +436,4 @@ with gr.Blocks() as demo:
436
  print("=== Gradio UI built, launching... ===", flush=True)
437
 
438
  if __name__ == "__main__":
439
- demo.launch(ssr_mode=False, server_name="0.0.0.0", allowed_paths=[EXAMPLES_DIR])
 
436
  print("=== Gradio UI built, launching... ===", flush=True)
437
 
438
  if __name__ == "__main__":
439
+ demo.launch(server_name="0.0.0.0", allowed_paths=[EXAMPLES_DIR])