Spaces:
Sleeping
Sleeping
Commit ·
3e93078
1
Parent(s): 55a54f0
changed to my repo model
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from huggingface_hub import hf_hub_download
|
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
# Download your model pickle from the Hub on startup
|
| 10 |
-
model_path = hf_hub_download(repo_id="
|
| 11 |
|
| 12 |
with open(model_path, "rb") as f:
|
| 13 |
model = pickle.load(f)
|
|
|
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
# Download your model pickle from the Hub on startup
|
| 10 |
+
model_path = hf_hub_download(repo_id="nataliegref/test-model", filename="trained_causal_model_v2.pkl")
|
| 11 |
|
| 12 |
with open(model_path, "rb") as f:
|
| 13 |
model = pickle.load(f)
|