Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from typing import List, Optional
|
|
| 8 |
|
| 9 |
# Download your model pickle from the Hub on startup
|
| 10 |
#model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model-Z15-v2", filename="trained_causal_model_v4.pkl")
|
| 11 |
-
model_path = hf_hub_download(repo_id="DIGMMUNI/
|
| 12 |
|
| 13 |
with open(model_path, "rb") as f:
|
| 14 |
model = pickle.load(f)
|
|
|
|
| 8 |
|
| 9 |
# Download your model pickle from the Hub on startup
|
| 10 |
#model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model-Z15-v2", filename="trained_causal_model_v4.pkl")
|
| 11 |
+
model_path = hf_hub_download(repo_id="DIGMMUNI/causal_model", filename="trained_causal_model_whole_city.pkl")
|
| 12 |
|
| 13 |
with open(model_path, "rb") as f:
|
| 14 |
model = pickle.load(f)
|