Spaces:
Sleeping
Sleeping
Update app.py
Browse filesConnect to newest whole city model
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from typing import List, Optional
|
|
| 8 |
app = FastAPI()
|
| 9 |
|
| 10 |
# Download your model pickle from the Hub on startup
|
| 11 |
-
model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model", filename="
|
| 12 |
|
| 13 |
with open(model_path, "rb") as f:
|
| 14 |
model = pickle.load(f)
|
|
|
|
| 8 |
app = FastAPI()
|
| 9 |
|
| 10 |
# Download your model pickle from the Hub on startup
|
| 11 |
+
model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model-temp", filename="trained_causal_model_whole_city.pkl")
|
| 12 |
|
| 13 |
with open(model_path, "rb") as f:
|
| 14 |
model = pickle.load(f)
|