diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 7ce1c34..3200178 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' # Adjust the version as needed + python-version: '3.9' # Follow the min version in pyproject.toml - name: Install dependencies run: | @@ -22,4 +22,4 @@ jobs: - name: Run tests run: | - pytest \ No newline at end of file + pytest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98f552a..b67f843 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,4 @@ repos: hooks: - id: pylint args: - - --disable=R,C,W,E0401 + - --disable=R,C,W,E0401 \ No newline at end of file diff --git a/comfy_cli/command/models/models.py b/comfy_cli/command/models/models.py index c9689bd..cdc0b09 100644 --- a/comfy_cli/command/models/models.py +++ b/comfy_cli/command/models/models.py @@ -39,7 +39,7 @@ def check_civitai_url(url: str) -> Tuple[bool, bool, int, int]: model_id: The model id or None if it's api url version_id: The version id or None if it doesn't have version id info """ - prefix = "civitai.co" + prefix = "civitai.com" try: if prefix in url: # URL is civitai api download url: https://civitai.com/api/download/models/12345