Spaces:
Runtime error
Runtime error
Commit
·
e9f9452
1
Parent(s):
943c46f
bugfix
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ gradio_ui = gr.Interface(
|
|
56 |
gr.outputs.Textbox(label="Label"),
|
57 |
gr.outputs.Textbox(label="Racism score (0 - 100)"),
|
58 |
gr.outputs.HighlightedText(
|
59 |
-
label="Racist heatmap",
|
60 |
],
|
61 |
examples=[
|
62 |
["Unos menas roban a una mujer"],
|
|
|
56 |
gr.outputs.Textbox(label="Label"),
|
57 |
gr.outputs.Textbox(label="Racism score (0 - 100)"),
|
58 |
gr.outputs.HighlightedText(
|
59 |
+
label="Racist heatmap", color_map={"red": "red", "pink": "pink"}),
|
60 |
],
|
61 |
examples=[
|
62 |
["Unos menas roban a una mujer"],
|