added sketch theme
Browse files- demo/app.py +1 -10
demo/app.py
CHANGED
|
@@ -7,14 +7,6 @@ Author: Csaba (BladeSzaSza)
|
|
| 7 |
import os, gradio as gr
|
| 8 |
from pathlib import Path
|
| 9 |
|
| 10 |
-
# ββ 1. Load external CSS as a string ββββββββββββββββββββββββββββ
|
| 11 |
-
ROOT = Path(__file__).parent
|
| 12 |
-
CSS_STRING = (ROOT / "css.css").read_text(encoding="utf8")
|
| 13 |
-
|
| 14 |
-
# ββ 2. Theme (orange primary, light-first) ββββββββββββββββββββββ
|
| 15 |
-
THEME = gr.themes.Ocean(primary_hue="indigo", secondary_hue="violet", neutral_hue="stone").set(
|
| 16 |
-
background_fill_primary="*primary_100"
|
| 17 |
-
)
|
| 18 |
|
| 19 |
# ββ 3. Dummy backend for local dev (replace with real fn) βββββββ
|
| 20 |
def process_video_standard(video, model, viz, kp):
|
|
@@ -25,8 +17,7 @@ def process_video_standard(video, model, viz, kp):
|
|
| 25 |
def create_demo() -> gr.Blocks:
|
| 26 |
with gr.Blocks(
|
| 27 |
title="Laban Movement Analysis β Complete Suite",
|
| 28 |
-
|
| 29 |
-
theme=THEME,
|
| 30 |
fill_width=True,
|
| 31 |
) as demo:
|
| 32 |
|
|
|
|
| 7 |
import os, gradio as gr
|
| 8 |
from pathlib import Path
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# ββ 3. Dummy backend for local dev (replace with real fn) βββββββ
|
| 12 |
def process_video_standard(video, model, viz, kp):
|
|
|
|
| 17 |
def create_demo() -> gr.Blocks:
|
| 18 |
with gr.Blocks(
|
| 19 |
title="Laban Movement Analysis β Complete Suite",
|
| 20 |
+
theme='gstaff/sketch',
|
|
|
|
| 21 |
fill_width=True,
|
| 22 |
) as demo:
|
| 23 |
|