Spaces:
Sleeping
Sleeping
Naman Omar
commited on
Commit
·
1d75761
1
Parent(s):
3d16022
Add application file
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -6,7 +6,7 @@ import numpy as np
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
# Load model at startup
|
| 9 |
-
with open("model.pkl", "rb") as f:
|
| 10 |
model = pickle.load(f)
|
| 11 |
|
| 12 |
# Input schema
|
|
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
# Load model at startup
|
| 9 |
+
with open("app/model.pkl", "rb") as f:
|
| 10 |
model = pickle.load(f)
|
| 11 |
|
| 12 |
# Input schema
|