Traceback (most recent call last): File "C:\SD\stable-diffusion-main\optimizedSD\inpaint_gradio.py", line 9, in <module> import gradio as gr ModuleNotFoundError: No module named 'gradio'
How can I fix this please?
If it involves typing more code in conda then can you tell me which folder I need to be typing the code in I e in the main or in SD(root) or whichever.
I have been using the basujindal sd install and its all been fine except for when I wanted to test out the inpainting thing as it sounded interesting.
As per a guide I followed it says to do the following:
> Run conda activate ldm and then python optimizedSD/inpainting_gradio.py
However the actual file is called inpaint_gradio.py so I run the script as:
C:\SD\stable-diffusion-main\optimizedSD>inpaint_gradio.py
It comes back with:
Traceback (most recent call last): File "C:\SD\stable-diffusion-main\optimizedSD\inpaint_gradio.py", line 9, in <module> import gradio as gr ModuleNotFoundError: No module named 'gradio'
How can I fix this please? If it involves typing more code in conda then can you tell me which folder I need to be typing the code in I e in the main or in SD(root) or whichever.
Thanks 🙂