Spaces:
Runtime error
Runtime error
Upload gui/backend/main.py with huggingface_hub
Browse files- 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(
|
| 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 = {
|