Spaces:
Runtime error
Runtime error
Update failed_run.py
Browse filesCan we add the failed status here?...
- failed_run.py +1 -0
failed_run.py
CHANGED
@@ -63,6 +63,7 @@ if args.logs_name:
|
|
63 |
repo_id="EnergyStarAI/error_logs",
|
64 |
repo_type="dataset",
|
65 |
)
|
|
|
66 |
except Exception as e:
|
67 |
print("That didn't work. Error:")
|
68 |
print(e)
|
|
|
63 |
repo_id="EnergyStarAI/error_logs",
|
64 |
repo_type="dataset",
|
65 |
)
|
66 |
+
dataset.loc[dataset["model"].isin(args.model_name), ['status']] = "FAILED"
|
67 |
except Exception as e:
|
68 |
print("That didn't work. Error:")
|
69 |
print(e)
|