Spaces:
Sleeping
Sleeping
KevinIsInCoding Claude Sonnet 4.6 commited on
Commit ·
5bd89ce
1
Parent(s): eb40daa
fix(app): use local SVG avatar to fix broken Gradio icon
Browse filesRemote DiceBear URL in avatar_images fails on network errors and CORS.
Replace with assets/flame.svg. Also document gradio run command in CLAUDE.md.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CLAUDE.md +3 -0
- app.py +1 -1
- assets/flame.svg +3 -0
CLAUDE.md
CHANGED
|
@@ -59,6 +59,9 @@ uv run python scripts/build_graph.py
|
|
| 59 |
|
| 60 |
# 5. Build ChromaDB vector index
|
| 61 |
uv run python scripts/build_index.py
|
|
|
|
|
|
|
|
|
|
| 62 |
```
|
| 63 |
|
| 64 |
## Key Invariants
|
|
|
|
| 59 |
|
| 60 |
# 5. Build ChromaDB vector index
|
| 61 |
uv run python scripts/build_index.py
|
| 62 |
+
|
| 63 |
+
# 6. run application
|
| 64 |
+
uv run gradio app.py
|
| 65 |
```
|
| 66 |
|
| 67 |
## Key Invariants
|
app.py
CHANGED
|
@@ -129,7 +129,7 @@ with gr.Blocks(title="Candle-Fire — ALS Research Intelligence") as demo:
|
|
| 129 |
height=520,
|
| 130 |
show_label=False,
|
| 131 |
sanitize_html=False,
|
| 132 |
-
avatar_images=(None, "
|
| 133 |
placeholder="Ask a question about ALS research to get started.",
|
| 134 |
)
|
| 135 |
|
|
|
|
| 129 |
height=520,
|
| 130 |
show_label=False,
|
| 131 |
sanitize_html=False,
|
| 132 |
+
avatar_images=(None, "assets/flame.svg"),
|
| 133 |
placeholder="Ask a question about ALS research to get started.",
|
| 134 |
)
|
| 135 |
|
assets/flame.svg
ADDED
|
|