Skip to content

Commit

Permalink
Merge pull request #91 from Haidra-Org/main
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin authored Nov 3, 2023
2 parents 8065ec9 + 63954b4 commit b950928
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The goal here is to be able to design inference pipelines in the excellent Comfy

If being installed from pypi, use a requirements file of the form:
```
--extra-index-url https://download.pytorch.org/whl/cu118
--extra-index-url https://download.pytorch.org/whl/cu121
hordelib
...your other dependencies...
Expand Down
2 changes: 1 addition & 1 deletion hordelib/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from hordelib.config_path import get_hordelib_path

COMFYUI_VERSION = "0e763e880f5e838e7a1e3914444cae6790c48627"
COMFYUI_VERSION = "dd116abfc48e8023bb425c2dd5bd954ee99d7a9c"
"""The exact version of ComfyUI version to load."""

REMOTE_PROXY = ""
Expand Down
3 changes: 3 additions & 0 deletions hordelib/model_manager/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ def _download_thread(self, thread_number):
logger.info(f"Starting download of LORA {lora['filename']}")
response = requests.get(lora["url"], timeout=self.REQUEST_DOWNLOAD_TIMEOUT)
response.raise_for_status()
if "reason=download-auth" in response.url:
logger.error(f"Error downloading {lora['filename']}. CivitAI appears to be redirecting us to a login page. Aborting")
break
# Check the data hash
hash_object = hashlib.sha256()
hash_object.update(response.content)
Expand Down

0 comments on commit b950928

Please sign in to comment.