curtpond commited on
Commit
cbd3f4c
1 Parent(s): c226a06

Updated app.py with correct version of pickle.

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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'))