sasha HF Staff commited on
Commit
ea3d5f6
·
verified ·
1 Parent(s): df1004b

Update failed_run.py

Browse files

Can we add the failed status here?...

Files changed (1) hide show
  1. 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)