XRachel commited on
Commit
2907bd1
·
verified ·
1 Parent(s): 47eb46d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import os
2
  import re
3
  import json
@@ -462,9 +464,16 @@ def _keyword_fallback(msg: str, idx: Dict, kpis: Dict) -> Tuple[str, Dict]:
462
 
463
  ensure_dirs()
464
 
 
465
  def load_css() -> str:
466
  css_path = BASE_DIR / "style.css"
467
- return css_path.read_text(encoding="utf-8") if css_path.exists() else ""
 
 
 
 
 
 
468
 
469
 
470
  with gr.Blocks(title="RX12 Workshop App") as demo:
 
1
+ print("=== RUNNING workshop/app.py ===")
2
+
3
  import os
4
  import re
5
  import json
 
464
 
465
  ensure_dirs()
466
 
467
+
468
  def load_css() -> str:
469
  css_path = BASE_DIR / "style.css"
470
+ print(">>> CSS PATH:", css_path, "exists=", css_path.exists())
471
+ if css_path.exists():
472
+ txt = css_path.read_text(encoding="utf-8")
473
+ print(">>> CSS LEN:", len(txt))
474
+ return txt
475
+ print(">>> CSS NOT FOUND")
476
+ return ""
477
 
478
 
479
  with gr.Blocks(title="RX12 Workshop App") as demo: