Spaces:
Running
Running
Jae-Won Chung
commited on
Commit
•
cdc3f99
1
Parent(s):
55aeee4
Fix gr.Dropdown default
Browse files
app.py
CHANGED
@@ -133,9 +133,9 @@ class TableManager:
|
|
133 |
def get_dropdown(self):
|
134 |
columns = self.full_df.columns.tolist()[1:] # include gpu and task in the dropdown
|
135 |
return [
|
136 |
-
gr.Dropdown("
|
137 |
-
gr.Dropdown("
|
138 |
-
gr.Dropdown(choices=columns, label="Z (optional)"),
|
139 |
]
|
140 |
|
141 |
def update_dropdown(self):
|
|
|
133 |
def get_dropdown(self):
|
134 |
columns = self.full_df.columns.tolist()[1:] # include gpu and task in the dropdown
|
135 |
return [
|
136 |
+
gr.Dropdown(value="gpu", choices=columns, label="X"),
|
137 |
+
gr.Dropdown(value="nlp_average", choices=columns, label="Y"),
|
138 |
+
gr.Dropdown(value="energy_efficiency", choices=columns, label="Z (optional)"),
|
139 |
]
|
140 |
|
141 |
def update_dropdown(self):
|