zhuohan-7 commited on
Commit
7fe254f
·
verified ·
1 Parent(s): a40ee94

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/draw_diagram.py +6 -0
app/draw_diagram.py CHANGED
@@ -341,8 +341,14 @@ def draw_only_acc(folder_name, category_one, category_two, sorted):
341
  .stMultiSelect [data-baseweb=select] span{
342
  max-width: 800px;
343
  font-size: 0.9rem;
 
 
 
 
 
344
  color: blue; /* Change text color of selected options */
345
  }
 
346
  </style>
347
  """, unsafe_allow_html=True)
348
  models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
 
341
  .stMultiSelect [data-baseweb=select] span{
342
  max-width: 800px;
343
  font-size: 0.9rem;
344
+ }
345
+
346
+ /* Change color for selected items */
347
+ .stMultiSelect [data-baseweb=select] .css-1n9msq9-option {
348
+ background-color: #f0f0f0; /* Change background color of selected options */
349
  color: blue; /* Change text color of selected options */
350
  }
351
+
352
  </style>
353
  """, unsafe_allow_html=True)
354
  models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())