firstmetis commited on
Commit
2dd927f
·
verified ·
1 Parent(s): 8493537

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def format_output(text):
85
 
86
  return f"""
87
  <b>SYMBOL:</b> <span style= "color: black; background-color: #dbeafe; padding: 3px 6px; border-radius: 5px;">{symbol}</span>&nbsp;&nbsp;
88
- <b>ASPECT:</b> <span style= "color: black; background-color: #ffd9d9; padding: 3px 6px; border-radius: 5px;">{aspect}</span>&nbsp;&nbsp;
89
  <b>OPINION:</b> <span style= "color: black; background-color: #f5c6ff; padding: 3px 6px; border-radius: 5px;">{opinion}</span>&nbsp;&nbsp;
90
  <b>SENTIMENT:</b> <span style= "color: black; background-color: {sentiment_colors.get(sentiment, '#ffffff')}; padding: 3px 6px; border-radius: 5px;">{sentiment_text}</span>
91
  """
 
85
 
86
  return f"""
87
  <b>SYMBOL:</b> <span style= "color: black; background-color: #dbeafe; padding: 3px 6px; border-radius: 5px;">{symbol}</span>&nbsp;&nbsp;
88
+ <b>ASPECT:</b> <span style= "color: black; background-color: #ffefd9; padding: 3px 6px; border-radius: 5px;">{aspect}</span>&nbsp;&nbsp;
89
  <b>OPINION:</b> <span style= "color: black; background-color: #f5c6ff; padding: 3px 6px; border-radius: 5px;">{opinion}</span>&nbsp;&nbsp;
90
  <b>SENTIMENT:</b> <span style= "color: black; background-color: {sentiment_colors.get(sentiment, '#ffffff')}; padding: 3px 6px; border-radius: 5px;">{sentiment_text}</span>
91
  """