Spaces:
Sleeping
Sleeping
Commit ·
e5ee678
1
Parent(s): 32e8d39
Add missing line
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ import numpy as np
|
|
| 4 |
import pickle
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
|
|
|
|
|
|
|
| 7 |
# Download your model pickle from the Hub on startup
|
| 8 |
model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model", filename="trained_causal_model_v2.pkl")
|
| 9 |
|
|
|
|
| 4 |
import pickle
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
|
| 7 |
+
app = FastAPI()
|
| 8 |
+
|
| 9 |
# Download your model pickle from the Hub on startup
|
| 10 |
model_path = hf_hub_download(repo_id="Projects-by-IF/causal-model", filename="trained_causal_model_v2.pkl")
|
| 11 |
|