Spaces:
Runtime error
Runtime error
Update create_results.py
Browse files- create_results.py +1 -2
create_results.py
CHANGED
@@ -17,7 +17,6 @@ api.upload_folder(
|
|
17 |
repo_type="dataset",
|
18 |
)
|
19 |
|
20 |
-
|
21 |
#Updating requests
|
22 |
requests = load_dataset("EnergyStarAI/requests_debug", split="test", token=TOKEN)
|
23 |
requests_dset = requests.to_pandas()
|
@@ -28,7 +27,7 @@ for dir, path, files in os.walk(out_dir):
|
|
28 |
model = os.path.join(dir, fid)
|
29 |
models_ran.append(model)
|
30 |
|
31 |
-
print("Models ran are: " + models_ran)
|
32 |
|
33 |
requests_dset.loc[requests_dset["model"].isin(models_ran), ['status']] = "COMPLETED"
|
34 |
updated_dset =Dataset.from_pandas(requests_dset)
|
|
|
17 |
repo_type="dataset",
|
18 |
)
|
19 |
|
|
|
20 |
#Updating requests
|
21 |
requests = load_dataset("EnergyStarAI/requests_debug", split="test", token=TOKEN)
|
22 |
requests_dset = requests.to_pandas()
|
|
|
27 |
model = os.path.join(dir, fid)
|
28 |
models_ran.append(model)
|
29 |
|
30 |
+
print("Models ran are: " + str(models_ran))
|
31 |
|
32 |
requests_dset.loc[requests_dset["model"].isin(models_ran), ['status']] = "COMPLETED"
|
33 |
updated_dset =Dataset.from_pandas(requests_dset)
|