Starting server no module named 'diffusers'
A similar error on both
(base) root@ubuntu:/JARVIS/server# python models_server.py --config config.yaml
Traceback (most recent call last):
File "/JARVIS/server/models_server.py", line 7, in
(base) root@ubuntu:/JARVIS/server# python awesome_chat.py --config config.yaml --mode cli
Traceback (most recent call last):
File "/JARVIS/server/awesome_chat.py", line 17, in
if anyone could help it would be awesome
I had this problem when I didn't activate the conda instance first. Since it takes multiple processes to run, each one needs to use the conda instance (except web).
first :
pip install diffusers
then for the load_image here the code:
def load_image(file_path): image = Image.open(file_path) return image