Spaces:
Runtime error
Runtime error
Variable name change.
Browse files- failed_run.py +2 -2
failed_run.py
CHANGED
|
@@ -24,7 +24,7 @@ parser.add_argument(
|
|
| 24 |
help="Model to benchmark.",
|
| 25 |
)
|
| 26 |
parser.add_argument(
|
| 27 |
-
"--
|
| 28 |
default=None,
|
| 29 |
type=str,
|
| 30 |
required=False,
|
|
@@ -54,7 +54,7 @@ updated_dataset.push_to_hub("EnergyStarAI/requests_debug", split="test", token=T
|
|
| 54 |
|
| 55 |
print("Status set to FAILED")
|
| 56 |
|
| 57 |
-
if args.
|
| 58 |
print("Attempting to save space runtime error log at EnergyStarAI/error_logs")
|
| 59 |
try:
|
| 60 |
api.upload_file(
|
|
|
|
| 24 |
help="Model to benchmark.",
|
| 25 |
)
|
| 26 |
parser.add_argument(
|
| 27 |
+
"--logs_name",
|
| 28 |
default=None,
|
| 29 |
type=str,
|
| 30 |
required=False,
|
|
|
|
| 54 |
|
| 55 |
print("Status set to FAILED")
|
| 56 |
|
| 57 |
+
if args.logs_name:
|
| 58 |
print("Attempting to save space runtime error log at EnergyStarAI/error_logs")
|
| 59 |
try:
|
| 60 |
api.upload_file(
|