Spaces:
Sleeping
Sleeping
Updated app.py with correct version of pickle.
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
# Imports
|
2 |
import gradio as gr
|
3 |
from sklearn.linear_model import LogisticRegression
|
|
|
4 |
|
5 |
# Load model from pickle file
|
6 |
model = pickle.load(open('lg_classifier.sav', 'rb'))
|
|
|
1 |
# Imports
|
2 |
import gradio as gr
|
3 |
from sklearn.linear_model import LogisticRegression
|
4 |
+
import pickle5 as pickle
|
5 |
|
6 |
# Load model from pickle file
|
7 |
model = pickle.load(open('lg_classifier.sav', 'rb'))
|