nkigumnov commited on
Commit
703d00e
1 Parent(s): 2a032a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,10 +10,10 @@ def predict(sentence: str):
10
  "1": float(prob[1][0][2]),
11
  "0": float(prob[1][0][1]),
12
  "-1": float(prob[1][0][0]),
13
- "Communication": float(prob[0][0][0]),
14
- "Quality": float(prob[0][0][1]),
15
- "Price": float(prob[0][0][2]),
16
- "Safety": float(prob[0][0][3]),
17
  }
18
  return (
19
  df["1"],
 
10
  "1": float(prob[1][0][2]),
11
  "0": float(prob[1][0][1]),
12
  "-1": float(prob[1][0][0]),
13
+ "Communication": float(prob[0][0][1]),
14
+ "Quality": float(prob[0][0][2]),
15
+ "Price": float(prob[0][0][3]),
16
+ "Safety": float(prob[0][0][4]),
17
  }
18
  return (
19
  df["1"],