eleftherias commited on
Commit
b58d977
·
1 Parent(s): ee5d5a0

Fix gated models error

Browse files
backend/app/utils/model_validation.py CHANGED
@@ -287,7 +287,7 @@ class ModelValidator:
287
  except Exception as e:
288
  if gated:
289
  return (
290
- True,
291
  "The model is gated by the model authors and requires special access permissions. Please contact us to request evaluation.",
292
  None,
293
  )
 
287
  except Exception as e:
288
  if gated:
289
  return (
290
+ False,
291
  "The model is gated by the model authors and requires special access permissions. Please contact us to request evaluation.",
292
  None,
293
  )