malhajar commited on
Commit
7bf636c
1 Parent(s): 06cce30

Update src/submission/submit.py

Browse files
Files changed (1) hide show
  1. src/submission/submit.py +0 -5
src/submission/submit.py CHANGED
@@ -49,11 +49,6 @@ def add_new_eval(
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, 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:
59
  model_info = API.model_info(repo_id=model, revision=revision)
 
49
  if not base_model_on_hub:
50
  return styled_error(f'Base model "{base_model}" {error}')
51
 
 
 
 
 
 
52
  # Is the model info correctly filled?
53
  try:
54
  model_info = API.model_info(repo_id=model, revision=revision)