Spaces:
Sleeping
Sleeping
Commit ·
00b74f6
1
Parent(s): 1a59ec0
fix: use HF-supported share and favicon paths
Browse filesSet the Space card thumbnail in README frontmatter and point Gradio's favicon path at the branded SVG asset.
README.md
CHANGED
|
@@ -9,6 +9,7 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: "CPU-first technical companion for Slipstream 3.1.1"
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Slipstream Lab
|
|
|
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: "CPU-first technical companion for Slipstream 3.1.1"
|
| 12 |
+
thumbnail: "https://huggingface.co/spaces/anthonym21/slipcore/raw/main/assets/slipstream-social-card.svg"
|
| 13 |
---
|
| 14 |
|
| 15 |
# Slipstream Lab
|
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
from __future__ import annotations
|
| 2 |
|
|
|
|
| 3 |
from typing import Any
|
| 4 |
|
| 5 |
import gradio as gr
|
|
@@ -27,6 +28,7 @@ GUIDANCE_TOPICS = [
|
|
| 27 |
"What model artifacts exist?",
|
| 28 |
"How should I evaluate first?",
|
| 29 |
]
|
|
|
|
| 30 |
|
| 31 |
CUSTOM_CSS = """
|
| 32 |
:root {
|
|
@@ -420,4 +422,5 @@ if __name__ == "__main__":
|
|
| 420 |
),
|
| 421 |
css=CUSTOM_CSS,
|
| 422 |
head=get_head_html(),
|
|
|
|
| 423 |
)
|
|
|
|
| 1 |
from __future__ import annotations
|
| 2 |
|
| 3 |
+
from pathlib import Path
|
| 4 |
from typing import Any
|
| 5 |
|
| 6 |
import gradio as gr
|
|
|
|
| 28 |
"What model artifacts exist?",
|
| 29 |
"How should I evaluate first?",
|
| 30 |
]
|
| 31 |
+
FAVICON_PATH = Path(__file__).resolve().parent / "assets" / "slipstream-mark.svg"
|
| 32 |
|
| 33 |
CUSTOM_CSS = """
|
| 34 |
:root {
|
|
|
|
| 422 |
),
|
| 423 |
css=CUSTOM_CSS,
|
| 424 |
head=get_head_html(),
|
| 425 |
+
favicon_path=FAVICON_PATH,
|
| 426 |
)
|