Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,10 +27,12 @@ def add_new_eval(
|
|
27 |
):
|
28 |
representation_name = model_name_textbox if revision_name_textbox == '' else revision_name_textbox
|
29 |
print(representation_name)
|
|
|
30 |
# Save human and skempi files under ./src/data/representation_vectors using pandas
|
31 |
if human_file is not None:
|
32 |
-
|
33 |
-
|
|
|
34 |
|
35 |
return None
|
36 |
|
|
|
27 |
):
|
28 |
representation_name = model_name_textbox if revision_name_textbox == '' else revision_name_textbox
|
29 |
print(representation_name)
|
30 |
+
print(benchmark_type)
|
31 |
# Save human and skempi files under ./src/data/representation_vectors using pandas
|
32 |
if human_file is not None:
|
33 |
+
output_file_path = f"./src/data/representation_vectors/{representation_name}_human.csv"
|
34 |
+
with open(output_file_path, 'wb') as f:
|
35 |
+
f.write(human_file)
|
36 |
|
37 |
return None
|
38 |
|