Spaces:
Sleeping
Sleeping
loading model
Browse files- src/main.py +4 -1
src/main.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
-
|
2 |
|
3 |
|
4 |
def main():
|
|
|
|
|
|
|
5 |
return
|
6 |
|
7 |
|
|
|
1 |
+
import pickle
|
2 |
|
3 |
|
4 |
def main():
|
5 |
+
with open("../models/logistic_regression.pkl", "rb") as f:
|
6 |
+
model = pickle.load(f)
|
7 |
+
|
8 |
return
|
9 |
|
10 |
|