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
[Feature] - Set remote SD URL with environment variable #8
[Feature] - Set remote SD URL with environment variable #8
Conversation
|
||
sd_url = os.environ.get('SD_URL', 'http://127.0.0.1:7860') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still defaults to the local instance on 7860
This is great – thanks! |
this is awesome. |
@AbdullahAlfaraj ah I see what's happening - the server is only handling one request at a time, so the progress request isn't resolving until after the images are done. I should be able to do the image task in the background to fix - will update shortly |
Ok, done. I ending up adding |
@sphuff fantastic work. |
Motivation:
Allows users to use a remote instance of the Automatic UI
How to use:
Or you can do the following:
set SD_URL=http://104.143.3.146:10758
in yourstart_server.bat
How it works:
All requests are proxied through the local python server. The remote SD server is then hit