sundea commited on
Commit
582c5da
·
1 Parent(s): c9e14db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,9 +19,9 @@ def get_output(text):
19
  prediction = [p.item() for p in prediction]
20
  for i in range(len(prediction)):
21
  if prediction[i]==1:
22
- output.append("消极")
23
  else:
24
- output.append('积极')
25
 
26
 
27
 
 
19
  prediction = [p.item() for p in prediction]
20
  for i in range(len(prediction)):
21
  if prediction[i]==1:
22
+ output.append("骂人")
23
  else:
24
+ output.append('非骂人')
25
 
26
 
27