Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def score_comment(comment):
|
|
17 |
|
18 |
text = ''
|
19 |
for idx, col in enumerate(df.columns[2:]):
|
20 |
-
text += '{}: {}\n'.format(col, (results[0][idx]*100)>0.
|
21 |
|
22 |
return text
|
23 |
|
|
|
17 |
|
18 |
text = ''
|
19 |
for idx, col in enumerate(df.columns[2:]):
|
20 |
+
text += '{}: {}\n'.format(col, (results[0][idx]*100)>0.5)
|
21 |
|
22 |
return text
|
23 |
|