Closed protector131090 closed 9 months ago
Its looking for the python code files. You can probably just copy the *.py + the ip_adapter from the parent folder into the gradio_demo folder.
Its looking for the python code files. You can probably just copy the *.py + the ip_adapter from the parent folder into the gradio_demo folder.
i copyed all form gradio folder to hte main folder and now it started to download some big files. But i get error AssertionError: Torch not compiled with CUDA enabled
You should make sure CUDA is available in your envs. In the demo code, the model is running on GPUs.
pip uninstall torch pip install torch==2.0.0+cu117 -f https://download.pytorch.org/whl/torch_stable.html
Put app.py and style_template.py Move to S:InstantID, and execute: python app.py
Will fix it soon.
Tested locally. It should work now. @protector131090
Closed. Feel free to re-open if you still meet problems.
can I run this locally on Mac M1 without GPU ? just for testing purpose, thanks !
(venv) S:\InstantID>python gradio_demo/app.py Traceback (most recent call last): File "S:\InstantID\gradio_demo\app.py", line 19, in
from pipeline_stable_diffusion_xl_instantid import StableDiffusionXLInstantIDPipeline
ModuleNotFoundError: No module named 'pipeline_stable_diffusion_xl_instantid'