Tharun156 commited on
Commit
3f48640
Β·
verified Β·
1 Parent(s): 6f4e067

Update hf_space/app.py

Browse files
Files changed (1) hide show
  1. hf_space/app.py +5 -0
hf_space/app.py CHANGED
@@ -16,6 +16,11 @@ ROOT_DIR = BASE_DIR.parent.resolve()
16
  # Ensure project root is on sys.path so intra-repo imports (e.g. `optimizers`) work.
17
  if str(ROOT_DIR) not in sys.path:
18
  sys.path.insert(0, str(ROOT_DIR))
 
 
 
 
 
19
  CKPT_DIR = BASE_DIR / "ckpt"
20
  CKPT_DIR.mkdir(parents=True, exist_ok=True)
21
 
 
16
  # Ensure project root is on sys.path so intra-repo imports (e.g. `optimizers`) work.
17
  if str(ROOT_DIR) not in sys.path:
18
  sys.path.insert(0, str(ROOT_DIR))
19
+
20
+ # Quick sanity check in Space logs to confirm the repo root is visible at runtime.
21
+ print("[GestureLSM] sys.path:")
22
+ for entry in sys.path:
23
+ print(" ", entry)
24
  CKPT_DIR = BASE_DIR / "ckpt"
25
  CKPT_DIR.mkdir(parents=True, exist_ok=True)
26