General-ProjectsByIF commited on
Commit
05ecc89
·
verified ·
1 Parent(s): 3e82392

Update app.py

Browse files

Connect to newest whole city model

Files changed (1) hide show
  1. app.py +1 -1
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="trained_causal_model_v2.pkl")
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)