Commit
Β·
6088ece
1
Parent(s):
5e75ea4
Remove redundant submission append operation in add_submission function
Browse files- gradio_interface.py +0 -2
gradio_interface.py
CHANGED
@@ -88,8 +88,6 @@ def add_submission(file):
|
|
88 |
repo_id=SUBMISSION_REPO
|
89 |
)
|
90 |
refresh_submissions()
|
91 |
-
submissions.append(
|
92 |
-
{"user": username, "task": task, "submitted_time": submission_time})
|
93 |
return "πͺππ Submissions registered successfully to the system!"
|
94 |
except Exception as e:
|
95 |
raise Exception(f"Error adding submission: {e}")
|
|
|
88 |
repo_id=SUBMISSION_REPO
|
89 |
)
|
90 |
refresh_submissions()
|
|
|
|
|
91 |
return "πͺππ Submissions registered successfully to the system!"
|
92 |
except Exception as e:
|
93 |
raise Exception(f"Error adding submission: {e}")
|