Upload app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ def add_new_eval(
|
|
45 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
|
46 |
# upload_data=json.loads(input_file)
|
47 |
upload_content = input_file
|
48 |
-
submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN, repo_type="dataset")
|
49 |
-
submission_repo.git_pull()
|
50 |
filename = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
51 |
|
52 |
now = datetime.datetime.now()
|
|
|
45 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
|
46 |
# upload_data=json.loads(input_file)
|
47 |
upload_content = input_file
|
48 |
+
# submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN, repo_type="dataset")
|
49 |
+
# submission_repo.git_pull()
|
50 |
filename = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
51 |
|
52 |
now = datetime.datetime.now()
|