trohrbaugh commited on
Commit
c88a475
·
verified ·
1 Parent(s): 15b8373

revert ssr_mode=False (Gradio 5.x Space edge routes via SSR; forcing off broke routing)

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -606,7 +606,4 @@ with gr.Blocks(
606
  )
607
 
608
  if __name__ == "__main__":
609
- # ssr_mode=False: Gradio 5.x defaults SSR on, but the experimental SSR (Node) layer
610
- # was returning intermittent 500s / truncated responses on the Space ("Too little data
611
- # for declared Content-Length") while the Python process stayed up. Disable it for stability.
612
- demo.launch(ssr_mode=False)
 
606
  )
607
 
608
  if __name__ == "__main__":
609
+ demo.launch()