ynhe commited on
Commit
5e4468a
1 Parent(s): 30f805c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def add_new_eval(
31
  upload_content = input_file
32
  submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN, repo_type="dataset")
33
  submission_repo.git_pull()
34
- filename = now.strftime("%Y%m%d_%H%M%S")
35
  now = datetime.datetime.now()
36
  with open(f'{filename}.zip','wb') as f:
37
  f.write(input_file)
 
31
  upload_content = input_file
32
  submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN, repo_type="dataset")
33
  submission_repo.git_pull()
34
+ filename = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
35
  now = datetime.datetime.now()
36
  with open(f'{filename}.zip','wb') as f:
37
  f.write(input_file)