Spaces:
Runtime error
Runtime error
Update create_results.py
Browse files- create_results.py +4 -1
create_results.py
CHANGED
@@ -28,6 +28,9 @@ for dir, path, files in os.walk(out_dir):
|
|
28 |
model = os.path.join(dir, fid)
|
29 |
models_ran.append(model)
|
30 |
|
|
|
|
|
31 |
requests_dset.loc[requests_dset["model"].isin(models_ran), ['status']] = "COMPLETED"
|
32 |
updated_dset =Dataset.from_pandas(requests_dset)
|
33 |
-
updated_dset.push_to_hub("EnergyStarAI/requests_debug", split="test", token=TOKEN)
|
|
|
|
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)
|
35 |
+
updated_dset.push_to_hub("EnergyStarAI/requests_debug", split="test", token=TOKEN)
|
36 |
+
print("Updated model status")
|