thealper2 commited on
Commit
222b646
1 Parent(s): d45e55a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ with open('model.pkl', 'rb') as f:
14
 
15
  def predict(model, sentence):
16
  output = model.predict([sentence])
17
- result = output.argmax().item()
18
 
19
  categories = {
20
  0: "WEAK",
 
14
 
15
  def predict(model, sentence):
16
  output = model.predict([sentence])
17
+ result = output.item()
18
 
19
  categories = {
20
  0: "WEAK",