BladeSzaSza commited on
Commit
60ccb62
Β·
verified Β·
1 Parent(s): cfc6901

added sketch theme

Browse files
Files changed (1) hide show
  1. 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
- css=CSS_STRING, # <- pass the *content*, not the path
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