Spaces:
Running
Running
Yu (Hope) Hou
commited on
Commit
•
6820a49
1
Parent(s):
f08605d
relax FE checking as quick fix
Browse files- src/submission/submit.py +9 -9
src/submission/submit.py
CHANGED
@@ -44,15 +44,15 @@ def add_new_eval(
|
|
44 |
revision = "main"
|
45 |
|
46 |
# Is the model on the hub?
|
47 |
-
if weight_type in ["Delta", "Adapter"]:
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
if not weight_type == "Adapter":
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
# Is the model info correctly filled?
|
58 |
try:
|
|
|
44 |
revision = "main"
|
45 |
|
46 |
# Is the model on the hub?
|
47 |
+
# if weight_type in ["Delta", "Adapter"]:
|
48 |
+
# base_model_on_hub, error, _ = is_model_on_hub(model_name=base_model, revision=revision, token=TOKEN, test_tokenizer=True)
|
49 |
+
# if not base_model_on_hub:
|
50 |
+
# return styled_error(f'Base model "{base_model}" {error}')
|
51 |
+
|
52 |
+
# if not weight_type == "Adapter":
|
53 |
+
# model_on_hub, error, _ = is_model_on_hub(model_name=model, revision=revision, token=TOKEN, test_tokenizer=True)
|
54 |
+
# if not model_on_hub:
|
55 |
+
# return styled_error(f'Model "{model}" {error}')
|
56 |
|
57 |
# Is the model info correctly filled?
|
58 |
try:
|