BrianLov commited on
Commit
f90b881
Β·
verified Β·
1 Parent(s): 6c34333

Upload gui/backend/main.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. gui/backend/main.py +1 -1
gui/backend/main.py CHANGED
@@ -16,7 +16,7 @@ from fastapi.middleware.cors import CORSMiddleware
16
  from fastapi.responses import JSONResponse
17
 
18
  # ── Paths ─────────────────────────────────────────────────────────────────────
19
- PROJECT_ROOT = Path(r"C:\Users\Brian ooi\Documents\code\CVPR\CVPRAssignment")
20
  RESULTS = PROJECT_ROOT / "results"
21
 
22
  CLASSIFIER_WEIGHTS = {
 
16
  from fastapi.responses import JSONResponse
17
 
18
  # ── Paths ─────────────────────────────────────────────────────────────────────
19
+ PROJECT_ROOT = Path(__file__).parent.parent.parent
20
  RESULTS = PROJECT_ROOT / "results"
21
 
22
  CLASSIFIER_WEIGHTS = {