Commit
Β·
c079d73
1
Parent(s):
160dbfd
Remove redundant call to refresh_submissions in add_submission function
Browse files- gradio_interface.py +0 -1
gradio_interface.py
CHANGED
@@ -90,7 +90,6 @@ def add_submission(file):
|
|
90 |
path_in_repo=task+"/"+file.split("/")[-1],
|
91 |
repo_id=SUBMISSION_REPO
|
92 |
)
|
93 |
-
refresh_submissions()
|
94 |
return "πͺππ Submissions registered successfully to the system!"
|
95 |
except Exception as e:
|
96 |
raise Exception(f"Error adding submission: {e}")
|
|
|
90 |
path_in_repo=task+"/"+file.split("/")[-1],
|
91 |
repo_id=SUBMISSION_REPO
|
92 |
)
|
|
|
93 |
return "πͺππ Submissions registered successfully to the system!"
|
94 |
except Exception as e:
|
95 |
raise Exception(f"Error adding submission: {e}")
|