Spaces:
Sleeping
Sleeping
fix: app_hf.py for HF Spaces deployment
Browse files
app_hf.py
CHANGED
|
@@ -1,11 +1,10 @@
|
|
| 1 |
-
import sys
|
| 2 |
-
import os
|
| 3 |
-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
|
| 4 |
-
|
| 5 |
-
"""Streamlit dashboard for Hugging Face Spaces — loads from parquet or demo mode."""
|
| 6 |
from __future__ import annotations
|
| 7 |
|
| 8 |
import json
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
from pathlib import Path
|
| 10 |
|
| 11 |
import numpy as np
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from __future__ import annotations
|
| 2 |
|
| 3 |
import json
|
| 4 |
+
import sys
|
| 5 |
+
import os
|
| 6 |
+
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'src'))
|
| 7 |
+
|
| 8 |
from pathlib import Path
|
| 9 |
|
| 10 |
import numpy as np
|