Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,6 @@ def add_new_eval(
|
|
| 28 |
human_file,
|
| 29 |
skempi_file,
|
| 30 |
model_name_textbox: str,
|
| 31 |
-
revision_name_textbox: str,
|
| 32 |
benchmark_types,
|
| 33 |
similarity_tasks,
|
| 34 |
function_prediction_aspect,
|
|
@@ -46,7 +45,7 @@ def add_new_eval(
|
|
| 46 |
|
| 47 |
gr.Info("Your submission is being processed…")
|
| 48 |
|
| 49 |
-
representation_name = model_name_textbox
|
| 50 |
|
| 51 |
try:
|
| 52 |
results = run_probe(
|
|
@@ -336,7 +335,6 @@ with block:
|
|
| 336 |
with gr.Row():
|
| 337 |
with gr.Column():
|
| 338 |
model_name_textbox = gr.Textbox(label="Method name")
|
| 339 |
-
revision_name_textbox = gr.Textbox(label="Revision Method Name")
|
| 340 |
benchmark_types = gr.CheckboxGroup(choices=TASK_INFO, label="Benchmark Types", interactive=True)
|
| 341 |
similarity_tasks = gr.CheckboxGroup(choices=similarity_tasks_options, label="Similarity Tasks", interactive=True)
|
| 342 |
function_prediction_aspect = gr.Radio(choices=function_prediction_aspect_options, label="Function Prediction Aspects", interactive=True)
|
|
@@ -354,7 +352,6 @@ with block:
|
|
| 354 |
human_file,
|
| 355 |
skempi_file,
|
| 356 |
model_name_textbox,
|
| 357 |
-
revision_name_textbox,
|
| 358 |
benchmark_types,
|
| 359 |
similarity_tasks,
|
| 360 |
function_prediction_aspect,
|
|
|
|
| 28 |
human_file,
|
| 29 |
skempi_file,
|
| 30 |
model_name_textbox: str,
|
|
|
|
| 31 |
benchmark_types,
|
| 32 |
similarity_tasks,
|
| 33 |
function_prediction_aspect,
|
|
|
|
| 45 |
|
| 46 |
gr.Info("Your submission is being processed…")
|
| 47 |
|
| 48 |
+
representation_name = model_name_textbox
|
| 49 |
|
| 50 |
try:
|
| 51 |
results = run_probe(
|
|
|
|
| 335 |
with gr.Row():
|
| 336 |
with gr.Column():
|
| 337 |
model_name_textbox = gr.Textbox(label="Method name")
|
|
|
|
| 338 |
benchmark_types = gr.CheckboxGroup(choices=TASK_INFO, label="Benchmark Types", interactive=True)
|
| 339 |
similarity_tasks = gr.CheckboxGroup(choices=similarity_tasks_options, label="Similarity Tasks", interactive=True)
|
| 340 |
function_prediction_aspect = gr.Radio(choices=function_prediction_aspect_options, label="Function Prediction Aspects", interactive=True)
|
|
|
|
| 352 |
human_file,
|
| 353 |
skempi_file,
|
| 354 |
model_name_textbox,
|
|
|
|
| 355 |
benchmark_types,
|
| 356 |
similarity_tasks,
|
| 357 |
function_prediction_aspect,
|