mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove debug line
This commit is contained in:
committed by
Kent Keirsey
parent
088e3420e6
commit
5d773dc94c
@ -330,7 +330,6 @@ class ModelInstall(object):
|
|||||||
with TemporaryDirectory(dir=self.config.models_path) as staging:
|
with TemporaryDirectory(dir=self.config.models_path) as staging:
|
||||||
CIVITAI_RE = r".*civitai.com.*"
|
CIVITAI_RE = r".*civitai.com.*"
|
||||||
civit_url = re.match(CIVITAI_RE, url, re.IGNORECASE)
|
civit_url = re.match(CIVITAI_RE, url, re.IGNORECASE)
|
||||||
print(civit_url)
|
|
||||||
location = download_with_resume(url, Path(staging), access_token=self.civit_api_key if civit_url else None)
|
location = download_with_resume(url, Path(staging), access_token=self.civit_api_key if civit_url else None)
|
||||||
if not location:
|
if not location:
|
||||||
logger.error(f"Unable to download {url}. Skipping.")
|
logger.error(f"Unable to download {url}. Skipping.")
|
||||||
|
Reference in New Issue
Block a user