Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,32 @@ with block:
|
|
90 |
label="Benchmark Type",
|
91 |
interactive=True,
|
92 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
with gr.Column():
|
95 |
human_file = gr.components.File(label="Click to Upload the representation file (csv) for Human dataset", file_count="single", type='filepath')
|
@@ -104,7 +130,11 @@ with block:
|
|
104 |
skempi_file,
|
105 |
model_name_textbox,
|
106 |
revision_name_textbox,
|
107 |
-
benchmark_type
|
|
|
|
|
|
|
|
|
108 |
],
|
109 |
)
|
110 |
|
|
|
90 |
label="Benchmark Type",
|
91 |
interactive=True,
|
92 |
)
|
93 |
+
similarity_tasks = gr.CheckboxGroup(
|
94 |
+
choices=similarity_tasks_options,
|
95 |
+
label="Select Similarity Tasks",
|
96 |
+
interactive=True,
|
97 |
+
)
|
98 |
+
|
99 |
+
# Dropdown for function prediction aspect
|
100 |
+
function_prediction_aspect = gr.Radio(
|
101 |
+
choices=function_prediction_aspect_options,
|
102 |
+
label="Select Function Prediction Aspect",
|
103 |
+
interactive=True,
|
104 |
+
)
|
105 |
+
|
106 |
+
# Dropdown for function prediction dataset
|
107 |
+
function_prediction_dataset = gr.Radio(
|
108 |
+
choices=function_prediction_dataset_options,
|
109 |
+
label="Select Function Prediction Dataset",
|
110 |
+
interactive=True,
|
111 |
+
)
|
112 |
+
|
113 |
+
# Checkbox for family prediction dataset
|
114 |
+
family_prediction_dataset = gr.CheckboxGroup(
|
115 |
+
choices=family_prediction_dataset_options,
|
116 |
+
label="Select Family Prediction Dataset",
|
117 |
+
interactive=True,
|
118 |
+
)
|
119 |
|
120 |
with gr.Column():
|
121 |
human_file = gr.components.File(label="Click to Upload the representation file (csv) for Human dataset", file_count="single", type='filepath')
|
|
|
130 |
skempi_file,
|
131 |
model_name_textbox,
|
132 |
revision_name_textbox,
|
133 |
+
benchmark_type,
|
134 |
+
similarity_tasks,
|
135 |
+
function_prediction_aspect,
|
136 |
+
function_prediction_dataset,
|
137 |
+
family_prediction_dataset,
|
138 |
],
|
139 |
)
|
140 |
|