mdj1412 commited on
Commit
6460d80
1 Parent(s): dd21895

Update app.py color

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ demo = gr.Interface(builder, inputs=[gr.inputs.Dropdown(['Any', 'Eng', 'Kor']),
157
  outputs=[ gr.Label(num_top_classes=3, label='Lang'),
158
  gr.Label(num_top_classes=2, label='Result'),
159
  gr.HighlightedText(label="Analysis", combine_adjacent=False)
160
- .style(color_map={"+++": "#CF0000", "++": "#FF3232", "+": "#FFD4D4", "---": "#0600CF", "--": "#4C47FF", "-": "#BEBDFF"}) ],
161
  # outputs='label',
162
  title=title, description=description, examples=examples)
163
 
 
157
  outputs=[ gr.Label(num_top_classes=3, label='Lang'),
158
  gr.Label(num_top_classes=2, label='Result'),
159
  gr.HighlightedText(label="Analysis", combine_adjacent=False)
160
+ .style(color_map={"+++": "#CF0000", "++": "#FF3232", "+": "#FFD4D4", "---": "#0004FE", "--": "#4C47FF", "-": "#BEBDFF"}) ],
161
  # outputs='label',
162
  title=title, description=description, examples=examples)
163