wenjiao commited on
Commit
5821091
1 Parent(s): 81d4f77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -396,7 +396,7 @@ with demo:
396
  filter_columns_weightDtype = gr.Dropdown(choices=[i.value.name for i in WeightDtype], label="Weight Dtype", multiselect=False, value="All", interactive=True,)
397
  filter_columns_doubleQuant = gr.Dropdown(choices=["True", "False"], label="Double Quant", multiselect=False, value="False", interactive=True)
398
  filter_columns_groupDtype = gr.Dropdown(choices=[i.value.name for i in GroupDtype], label="Group Size", multiselect=False, value="All", interactive=True,)
399
- highlighted_text = gr.HighlightedText("Display Visualization Upon Clicking Table", color="green")
400
 
401
  leaderboard_table = gr.components.Dataframe(
402
  value=leaderboard_df[
 
396
  filter_columns_weightDtype = gr.Dropdown(choices=[i.value.name for i in WeightDtype], label="Weight Dtype", multiselect=False, value="All", interactive=True,)
397
  filter_columns_doubleQuant = gr.Dropdown(choices=["True", "False"], label="Double Quant", multiselect=False, value="False", interactive=True)
398
  filter_columns_groupDtype = gr.Dropdown(choices=[i.value.name for i in GroupDtype], label="Group Size", multiselect=False, value="All", interactive=True,)
399
+ highlighted_text = gr.HighlightedText("Display Visualization Upon Clicking Table", color_map={"Visualization": "red", "Display": "green", "Upon Clicking Table": "green"}))
400
 
401
  leaderboard_table = gr.components.Dataframe(
402
  value=leaderboard_df[