Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -5,13 +5,12 @@ from huggingface_hub import hf_hub_download
|
|
| 5 |
import joblib
|
| 6 |
import os
|
| 7 |
|
| 8 |
-
from config import HF_REPO_ID
|
| 9 |
|
| 10 |
# Assuming config.py is in the same directory or accessible via PYTHONPATH
|
| 11 |
# from config import HF_REPO_ID # If you want to load HF_REPO_ID from config.py
|
| 12 |
|
| 13 |
# For now, hardcode the repo ID as it's defined elsewhere in the notebook
|
| 14 |
-
|
| 15 |
|
| 16 |
# Download and load the model
|
| 17 |
try:
|
|
|
|
| 5 |
import joblib
|
| 6 |
import os
|
| 7 |
|
|
|
|
| 8 |
|
| 9 |
# Assuming config.py is in the same directory or accessible via PYTHONPATH
|
| 10 |
# from config import HF_REPO_ID # If you want to load HF_REPO_ID from config.py
|
| 11 |
|
| 12 |
# For now, hardcode the repo ID as it's defined elsewhere in the notebook
|
| 13 |
+
HF_REPO_ID = "CodingBuddy/Predictive-maintenance"
|
| 14 |
|
| 15 |
# Download and load the model
|
| 16 |
try:
|