Spaces:
Running on Zero
Running on Zero
Commit ·
3f3b81d
1
Parent(s): 3a15319
Remove ssr_mode=False from launch() — invalid in Gradio 6.x
Browse filesssr_mode belongs in gr.Blocks(), not launch(). Passing it to launch()
raises TypeError, crashing the server before it can serve static assets,
causing the blank page. Also pins gradio==6.14.0 exactly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- app.py +0 -1
- pyproject.toml +1 -1
- uv.lock +0 -0
app.py
CHANGED
|
@@ -1152,7 +1152,6 @@ if __name__ == "__main__":
|
|
| 1152 |
demo.queue(max_size=30).launch(
|
| 1153 |
css=css,
|
| 1154 |
mcp_server=True,
|
| 1155 |
-
ssr_mode=False,
|
| 1156 |
show_error=True,
|
| 1157 |
allowed_paths=["examples"],
|
| 1158 |
)
|
|
|
|
| 1152 |
demo.queue(max_size=30).launch(
|
| 1153 |
css=css,
|
| 1154 |
mcp_server=True,
|
|
|
|
| 1155 |
show_error=True,
|
| 1156 |
allowed_paths=["examples"],
|
| 1157 |
)
|
pyproject.toml
CHANGED
|
@@ -10,7 +10,7 @@ dependencies = [
|
|
| 10 |
"kernels",
|
| 11 |
"spaces",
|
| 12 |
"hf_xet",
|
| 13 |
-
"gradio
|
| 14 |
"torch",
|
| 15 |
"numpy",
|
| 16 |
"av",
|
|
|
|
| 10 |
"kernels",
|
| 11 |
"spaces",
|
| 12 |
"hf_xet",
|
| 13 |
+
"gradio==6.14.0",
|
| 14 |
"torch",
|
| 15 |
"numpy",
|
| 16 |
"av",
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|