Spaces:
Build error
Build error
Update src/submission/submit.py
Browse files- src/submission/submit.py +3 -0
src/submission/submit.py
CHANGED
|
@@ -57,6 +57,9 @@ def add_new_eval(
|
|
| 57 |
if model in DO_NOT_SUBMIT_MODELS or base_model in DO_NOT_SUBMIT_MODELS:
|
| 58 |
return styled_warning("Model authors have requested that their model be not submitted on the leaderboard.")
|
| 59 |
|
|
|
|
|
|
|
|
|
|
| 60 |
# Does the model actually exist?
|
| 61 |
if revision == "":
|
| 62 |
revision = "main"
|
|
|
|
| 57 |
if model in DO_NOT_SUBMIT_MODELS or base_model in DO_NOT_SUBMIT_MODELS:
|
| 58 |
return styled_warning("Model authors have requested that their model be not submitted on the leaderboard.")
|
| 59 |
|
| 60 |
+
if model == "CohereForAI/c4ai-command-r-plus":
|
| 61 |
+
return styled_warning("This model cannot be submitted manually on the leaderboard before the transformers release.")
|
| 62 |
+
|
| 63 |
# Does the model actually exist?
|
| 64 |
if revision == "":
|
| 65 |
revision = "main"
|