curtpond commited on
Commit
8d08fb9
·
1 Parent(s): c929fd7

Made a small change in app.py.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ model = pickle.load(open(lr_filename, 'rb'))
11
 
12
  # Define function to make a prediction with the model
13
  def predict(text):
14
- return model.predict([text])[0]
15
 
16
 
17
  # Define interface
 
11
 
12
  # Define function to make a prediction with the model
13
  def predict(text):
14
+ return model.predict([text])
15
 
16
 
17
  # Define interface