Update app.py
Browse files
app.py
CHANGED
@@ -311,11 +311,11 @@ def select(df, data: gr.SelectData):
|
|
311 |
selected_values[text_content] = value
|
312 |
|
313 |
print('selected_values', selected_values, selected_indices)
|
314 |
-
return gr.CheckboxGroup(list(selected_values.keys()))
|
315 |
|
316 |
def init_comparison_data():
|
317 |
global selected_values
|
318 |
-
return gr.CheckboxGroup(list(selected_values.keys()))
|
319 |
|
320 |
def generate_spider_chart(df, selected_keys):
|
321 |
global selected_values
|
|
|
311 |
selected_values[text_content] = value
|
312 |
|
313 |
print('selected_values', selected_values, selected_indices)
|
314 |
+
return gr.CheckboxGroup(list(selected_values.keys()), value=list(selected_values.keys()))
|
315 |
|
316 |
def init_comparison_data():
|
317 |
global selected_values
|
318 |
+
return gr.CheckboxGroup(list(selected_values.keys()), value=list(selected_values.keys()))
|
319 |
|
320 |
def generate_spider_chart(df, selected_keys):
|
321 |
global selected_values
|