Comments (4)
Thanks for letting me know. Bugfix contributions are certainly welcome.
What you're saying is concerning but I would need a way to reproduce this issue before I can look into it.
I'm sure there are many ways to install Stable Diffusion. This app is build around this method. Did you follow those instructions or something else?
If you look at main.rs you'll notice starting at line 73 that it calls the source venv/bin/activate
command to activate the venv before the actual SD command.
I think the best way to debug it is to run the command in the terminal first, as shown in the guide above. If that works, then the app should also work (I hope 😬 ). Keep me posted!
from sd-buddy.
I'm sure there are many ways to install Stable Diffusion. This app is build around this method. Did you follow those instructions or something else?
I followed those instructions, except that, as noted above, I used pyenv (via direnv) instead of virtualenv (simply because that's what I always use).
If you look at main.rs you'll notice starting at line 73 that it calls the source venv/bin/activate command to activate the venv before the actual SD command.
Aha! As I suspected then, my use of pyenv/direnv instead of virtualenv is the issue.
I wonder what it would take to add support for pyenv as well… I'll look into it.
In the meantime the workaround I guess is to use virtualenv (or just use the app to generate prompts and copy-paste them into the terminal).
from sd-buddy.
I'm not a python dev so I'm not sure what are the implications and pros/cons of using pyenv
vs direnv
but I wouldn't mind supporting both. There needs to be some sort of check for one or the other before invoking it.
from sd-buddy.
I've got this working by detecting the presence of either venv/bin/activate
or .direnv
and calling the appropriate command. I'll clean it up a bit and send a PR.
from sd-buddy.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-buddy.