meg HF Staff commited on
Commit
306015c
·
verified ·
1 Parent(s): 0c88eec

Variable name change.

Browse files
Files changed (1) hide show
  1. 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
- "--error_log",
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.error_log:
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(