Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,7 @@ def user_interaction(comment, model):
|
|
41 |
"-"*10 + f"Neutrality Score: {neutral_score:.2f}" + "-"*10 + "\n" +
|
42 |
"-"*10 + f"Positivity Score: {positive_score:.2f}" + "-"*10 + "\n" +
|
43 |
"-"*10 + f"Compound Score: {compound_score:.2f}" + "-"*10 + "\n" +
|
44 |
-
"*"*43 + "\n"),
|
45 |
-
("\nThe estimated rating this comment can give" + "\n" +
|
46 |
"*"*20 + str(round(rate_pred[0], 2)) + "*"*20 + "\n")
|
47 |
|
48 |
|
|
|
41 |
"-"*10 + f"Neutrality Score: {neutral_score:.2f}" + "-"*10 + "\n" +
|
42 |
"-"*10 + f"Positivity Score: {positive_score:.2f}" + "-"*10 + "\n" +
|
43 |
"-"*10 + f"Compound Score: {compound_score:.2f}" + "-"*10 + "\n" +
|
44 |
+
"*"*43 + "\n"), ("\nThe estimated rating this comment can give" + "\n" +
|
|
|
45 |
"*"*20 + str(round(rate_pred[0], 2)) + "*"*20 + "\n")
|
46 |
|
47 |
|