Spaces:
Sleeping
Sleeping
revert ssr_mode=False (Gradio 5.x Space edge routes via SSR; forcing off broke routing)
Browse files
app.py
CHANGED
|
@@ -606,7 +606,4 @@ with gr.Blocks(
|
|
| 606 |
)
|
| 607 |
|
| 608 |
if __name__ == "__main__":
|
| 609 |
-
|
| 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()
|
|
|
|
|
|
|
|
|