Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,8 +101,8 @@ def add_new_eval(
|
|
| 101 |
model_name = repo_id.split("/")[1]
|
| 102 |
precision = precision.split(" ")[0]
|
| 103 |
|
| 104 |
-
dataset_out_path = f"{REQUESTS_DATASET_PATH}/{model_owner}"
|
| 105 |
-
temp_out_path = f"./temp/{REQUESTS_DATASET_PATH}/{model_owner}"
|
| 106 |
print("Making directory to output results at %s" % temp_out_path)
|
| 107 |
os.makedirs(temp_out_path, exist_ok=True)
|
| 108 |
out_file = f"{model_name}_eval_request_{precision}_{weight_type}.json"
|
|
|
|
| 101 |
model_name = repo_id.split("/")[1]
|
| 102 |
precision = precision.split(" ")[0]
|
| 103 |
|
| 104 |
+
dataset_out_path = f"{REQUESTS_DATASET_PATH}/{model_owner}/"
|
| 105 |
+
temp_out_path = f"./temp/{REQUESTS_DATASET_PATH}/{model_owner}/"
|
| 106 |
print("Making directory to output results at %s" % temp_out_path)
|
| 107 |
os.makedirs(temp_out_path, exist_ok=True)
|
| 108 |
out_file = f"{model_name}_eval_request_{precision}_{weight_type}.json"
|