Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run in dev or build? #27

Open
polaski opened this issue Sep 12, 2022 · 1 comment
Open

How to run in dev or build? #27

polaski opened this issue Sep 12, 2022 · 1 comment

Comments

@polaski
Copy link

polaski commented Sep 12, 2022

Hi, I just cloned the repository and tried to run it but couldn't figure out how to run this.

I thought npm run serve would work at first, but that doesn't seem to be the case. And then I tried multiple npm run build operations in the package.json file but some of them fail with python error, and I couldn't make it work.

after trying some of these commands, running npm run electron:serve does start the electron app, but it then immediately crashes with "Backend quit unexpectedly", and the console says: ModuleNotFoundError: No module named 'omegaconf'

Is there any instruction for building or running this in dev mode? Would appreciate anyone's help, thanks!

@7ammer
Copy link

7ammer commented Sep 14, 2022

I've run into a similar issue: ModuleNotFoundError: No module named 'cv2'.
I have a feeling these are python packages as it points to a python file /Users/jamesisbell/Downloads/diffusionbee-stable-diffusion-ui-master/electron_app/../stable-diffusion/txt2img.py

There is a readme.md in the /stable-diffusion folder. On quick glance it looks like you may need to install something first.

Let me know if you find out what is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants