Spaces:
Running
Running
Update src/submission/submit.py
Browse files- src/submission/submit.py +2 -2
src/submission/submit.py
CHANGED
@@ -24,8 +24,8 @@ def add_new_eval(
|
|
24 |
ans_file: str,
|
25 |
profile: gr.OAuthProfile | None
|
26 |
):
|
27 |
-
if profile is None:
|
28 |
-
|
29 |
global REQUESTED_MODELS
|
30 |
global USERS_TO_SUBMISSION_DATES
|
31 |
if not REQUESTED_MODELS:
|
|
|
24 |
ans_file: str,
|
25 |
profile: gr.OAuthProfile | None
|
26 |
):
|
27 |
+
# if profile is None:
|
28 |
+
# return styled_error("Hub Login Required") TEMP
|
29 |
global REQUESTED_MODELS
|
30 |
global USERS_TO_SUBMISSION_DATES
|
31 |
if not REQUESTED_MODELS:
|