Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def display_sentiment(results):
|
|
160 |
html += (
|
161 |
f"<li><b>{r['ticker']}</b> ({ts_str})<br>"
|
162 |
f"{r['article']}<br>"
|
163 |
-
f"<i>Sentiment score:</i> {r['sentiment']:.2f}" "
|
164 |
)
|
165 |
html += "</ul>"
|
166 |
return html
|
|
|
160 |
html += (
|
161 |
f"<li><b>{r['ticker']}</b> ({ts_str})<br>"
|
162 |
f"{r['article']}<br>"
|
163 |
+
f"<i>Sentiment score:</i> {r['sentiment']:.2f}" "</li>"
|
164 |
)
|
165 |
html += "</ul>"
|
166 |
return html
|