-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello! I changed the paths to a local empty folder, but it does not want to download the models. Am I supposed to download the models myself? Need a manual then, please.
Python 3.11 on Windows 11. Fooocus works fine.
Traceback (most recent call last):
File "C:\Users\hackd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\diffusers\configuration_utils.py", line 371, in load_config
config_file = hf_hub_download(
^^^^^^^^^^^^^^^^
File "C:\Users\hackd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\huggingface_hub\utils\_validators.py", line 110, in _inner_fn
validate_repo_id(arg_value)
File "C:\Users\hackd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\huggingface_hub\utils\_validators.py", line 158, in validate_repo_id
raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'D:/dai/models/control_v11p_sd15_canny'. Use `repo_type` argument if needed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\dai\Drawing-AI\flask_api\REST.py", line 13, in <module>
pipeline = prepare_pipeline()
^^^^^^^^^^^^^^^^^^
File "D:\dai\Drawing-AI\flask_api\diffusion.py", line 83, in prepare_pipeline
controlnet = ControlNetModel.from_pretrained(CONTROLNET_CANNY_LOCATION, torch_dtype=TORCH_DTYPE,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hackd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\diffusers\models\modeling_utils.py", line 712, in from_pretrained
config, unused_kwargs, commit_hash = cls.load_config(
^^^^^^^^^^^^^^^^
File "C:\Users\hackd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\diffusers\configuration_utils.py", line 407, in load_config
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like D:/dai/models/control_v11p_sd15_canny is not the path to a directory containing a config.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels