Spaces:
Sleeping
Sleeping
KevinIsInCoding Claude Fable 5 commited on
fix(deploy): disable Gradio SSR + pin gradio==6.14.0 (HF Space stability) (#15)
Browse filesThe HF Space returned 503 (app healthy on :7860 but unreachable via HF's
proxy) because of Gradio's experimental Node SSR layer. Disabling SSR and
pinning gradio to match the README sdk_version restores stable serving
(verified 12/12 200s). Mirrors the fix already live on the deploy lineage.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
- app.py +1 -0
- pyproject.toml +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -182,6 +182,7 @@ with gr.Blocks(title="Candle-Fire — ALS Research Intelligence") as demo:
|
|
| 182 |
if __name__ == "__main__":
|
| 183 |
demo.launch(
|
| 184 |
share=False,
|
|
|
|
| 185 |
css=_CSS,
|
| 186 |
theme=gr.themes.Soft(),
|
| 187 |
)
|
|
|
|
| 182 |
if __name__ == "__main__":
|
| 183 |
demo.launch(
|
| 184 |
share=False,
|
| 185 |
+
ssr_mode=False, # HF experimental Node SSR 503s on this Space; serve classic app from :7860
|
| 186 |
css=_CSS,
|
| 187 |
theme=gr.themes.Soft(),
|
| 188 |
)
|
pyproject.toml
CHANGED
|
@@ -6,7 +6,7 @@ readme = "README.md"
|
|
| 6 |
requires-python = ">=3.11"
|
| 7 |
dependencies = [
|
| 8 |
"anthropic>=0.50.0",
|
| 9 |
-
"gradio
|
| 10 |
"chromadb>=0.5.0",
|
| 11 |
"networkx>=3.3",
|
| 12 |
"biopython>=1.84",
|
|
|
|
| 6 |
requires-python = ">=3.11"
|
| 7 |
dependencies = [
|
| 8 |
"anthropic>=0.50.0",
|
| 9 |
+
"gradio==6.14.0",
|
| 10 |
"chromadb>=0.5.0",
|
| 11 |
"networkx>=3.3",
|
| 12 |
"biopython>=1.84",
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
anthropic>=0.50.0
|
| 2 |
-
gradio
|
| 3 |
chromadb>=0.5.0
|
| 4 |
networkx>=3.3
|
| 5 |
biopython>=1.84
|
|
|
|
| 1 |
anthropic>=0.50.0
|
| 2 |
+
gradio==6.14.0
|
| 3 |
chromadb>=0.5.0
|
| 4 |
networkx>=3.3
|
| 5 |
biopython>=1.84
|