Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Removed need for license
Browse files- src/submission/submit.py +2 -1
src/submission/submit.py
CHANGED
@@ -66,7 +66,8 @@ def add_new_eval(
|
|
66 |
try:
|
67 |
license = model_info.cardData["license"]
|
68 |
except Exception:
|
69 |
-
|
|
|
70 |
|
71 |
modelcard_OK, error_msg = check_model_card(model)
|
72 |
if not modelcard_OK:
|
|
|
66 |
try:
|
67 |
license = model_info.cardData["license"]
|
68 |
except Exception:
|
69 |
+
license = '?'
|
70 |
+
# return styled_error("Please select a license for your model")
|
71 |
|
72 |
modelcard_OK, error_msg = check_model_card(model)
|
73 |
if not modelcard_OK:
|