Spaces:
Runtime error
Runtime error
Update git hooks
Browse files- background_task.py +1 -1
background_task.py
CHANGED
@@ -173,7 +173,7 @@ def get_models_list() -> list:
|
|
173 |
models.append(Model(row["author"], row["model"], row["elo"], row["games_played"]))
|
174 |
models_names.append(row["model"])
|
175 |
for model in models_on_hub:
|
176 |
-
print("New model found: ", model.author, model.modelId)
|
177 |
if model.modelId not in models_names:
|
178 |
models.append(Model(model.author, model.modelId))
|
179 |
return models
|
|
|
173 |
models.append(Model(row["author"], row["model"], row["elo"], row["games_played"]))
|
174 |
models_names.append(row["model"])
|
175 |
for model in models_on_hub:
|
176 |
+
print("New model found: ", model.author, "-", model.modelId)
|
177 |
if model.modelId not in models_names:
|
178 |
models.append(Model(model.author, model.modelId))
|
179 |
return models
|