mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-19 02:26:17 -07:00
fix: handle unknown gated models
This commit is contained in:
@@ -58,7 +58,7 @@ def collect_reproducibles(path: str):
|
||||
if model.tags is not None and "gguf" in model.tags:
|
||||
continue
|
||||
|
||||
if model.gated is not False:
|
||||
if model.gated:
|
||||
if not token:
|
||||
continue
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user