Spaces:
Runtime error
Runtime error
lixuejing
commited on
Commit
·
c720148
1
Parent(s):
9c110ed
fix
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
@@ -41,7 +41,7 @@ def add_new_eval(
|
|
41 |
current_time = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
|
42 |
|
43 |
if model_type is None:
|
44 |
-
model_type
|
45 |
#return styled_error("Please select a model type.")
|
46 |
|
47 |
# Does the model actually exist?
|
|
|
41 |
current_time = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
|
42 |
|
43 |
if model_type is None:
|
44 |
+
model_type = ""
|
45 |
#return styled_error("Please select a model type.")
|
46 |
|
47 |
# Does the model actually exist?
|