Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -436,7 +436,7 @@ def button_pressed(text_box):
|
|
| 436 |
text = text + " '{} is experiencing a significantly high amount of negative sentiment content.".format(text_box)
|
| 437 |
|
| 438 |
if len(text) == len(original_text):
|
| 439 |
-
text = text + " No excessive hate speech or low sentiment was observed in @{}'s mentions or timeline".format(text_box)
|
| 440 |
|
| 441 |
return [toxicity_plot_fig, sentiment_plot_fig, fig, text]
|
| 442 |
|
|
|
|
| 436 |
text = text + " '{} is experiencing a significantly high amount of negative sentiment content.".format(text_box)
|
| 437 |
|
| 438 |
if len(text) == len(original_text):
|
| 439 |
+
text = text + " No excessive hate speech or low sentiment was observed in @{}'s mentions or timeline.".format(text_box)
|
| 440 |
|
| 441 |
return [toxicity_plot_fig, sentiment_plot_fig, fig, text]
|
| 442 |
|