From c6d449550f4f19f90d44aa39b0382651a2ff91a3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 10:17:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/utils/models/model_config.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.py index 96b1febaea..9eacf893ad 100644 --- a/studio/backend/utils/models/model_config.py +++ b/studio/backend/utils/models/model_config.py @@ -1355,15 +1355,12 @@ def detect_gguf_model_remote( "RevisionNotFoundError", "EntryNotFoundError", ): - logger.debug( - f"Could not check GGUF files for '{repo_id}': {e}" - ) + logger.debug(f"Could not check GGUF files for '{repo_id}': {e}") return None if attempt < 2: - time.sleep(2 ** attempt) + time.sleep(2**attempt) logger.warning( - f"Could not check GGUF files for '{repo_id}' after 3 attempts: " - f"{last_err}" + f"Could not check GGUF files for '{repo_id}' after 3 attempts: " f"{last_err}" ) return None