Update app.py color
Browse files
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", "---": "#
|
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 |
|