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

SD checkpoints not showing up on plugin and getting 404 error #43

Closed
ambiSk opened this issue Jan 3, 2023 · 8 comments
Closed

SD checkpoints not showing up on plugin and getting 404 error #43

ambiSk opened this issue Jan 3, 2023 · 8 comments

Comments

@ambiSk
Copy link

ambiSk commented Jan 3, 2023

I am using Mac with Photoshop v24.1.0
I followed the instruction, and setup for a remote connection, but my SD checkpoints are not showing up on the plugin UI.
On pressing the Refresh button, I am getting this log

INFO:     127.0.0.1:54185 - "GET /sdapi/v1/sd-models HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:54186 - "GET /sdapi/v1/samplers HTTP/1.1" 404 Not Found

No crash happening in the code, just this log

@AbdullahAlfaraj
Copy link
Owner

check if your sd webui server exposes "/sdapi/v1/sd-models"
here is how to do it:

  1. access your sd webui url in the browser.
  2. add "/docs" to the end of the url . e.g http://127.0.0.1:7860/ become http://127.0.0.1:7860/docs
  3. check if the "/sdapi/v1/sd-models" endpoint is listed.

image

@AbdullahAlfaraj AbdullahAlfaraj mentioned this issue Jan 3, 2023
@jackhagley
Copy link

Don’t think it’s there!

Screenshot 2023-01-03 at 13 47 35

@AbdullahAlfaraj
Copy link
Owner

@jackhagley your automatic1111's "webui-user.bat"
should have "--api" in the command args

set COMMANDLINE_ARGS= --api --xformers

@jackhagley
Copy link

It does have it there - and did have it there - just not with the --xformers part. I have added --xformers but it makes no difference

@AbdullahAlfaraj
Copy link
Owner

AbdullahAlfaraj commented Jan 3, 2023

@jackhagley show me a screenshot of your sd webui cmd.
image

another thing you might want to try is to update your automatic1111 sd webui to the latest version.

@ambiSk
Copy link
Author

ambiSk commented Jan 4, 2023

I have this over in my remote server
just to let you know I setup this for my windows pc and here it works perfectly, but on doing the same on Mac, its give the error
image

@AbdullahAlfaraj
Copy link
Owner

@ambiSk thank you for reporting back. I've recently tested a remote setup with colab and I found a bug.

in the setting tab make sure your url doesn't end with "/"
image

this is a bug that I'm going to work on later, but just in case you try a remote setup before I get the change to fix it.
this won't work->
https://09a7351c-d161-4142.gradio.live/

and this will work ->
https://09a7351c-d161-4142.gradio.live

@AbdullahAlfaraj
Copy link
Owner

in the setting tab make sure your url doesn't end with "/"

The trailing "/" bug has been fixed.

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

3 participants