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

[Bug]: /docs page isn't showing anymore? #10109

Closed
1 task done
hubcart opened this issue May 5, 2023 · 9 comments
Closed
1 task done

[Bug]: /docs page isn't showing anymore? #10109

hubcart opened this issue May 5, 2023 · 9 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@hubcart
Copy link

hubcart commented May 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

the api docs page isn't showing as of today. the api still works but the doc page come up {"detail":"Not Found"}

Steps to reproduce the problem

  1. Go to /docs

What should have happened?

the swagger page from fast api show

Commit where the problem happens

latest

What platforms do you use to access the UI ?

Linux, Other/Cloud

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--api --listen --enable-insecure-extension-access --disable-safe-unpickle --no-half

List of extensions

rembg only right now

Console logs

404 error

Additional information

was working fine. not sure if its a fast api issue

@hubcart hubcart added the bug-report Report of a bug, yet to be confirmed label May 5, 2023
@Axelleromar
Copy link

I have the same problem after an update. In addition, the API does not work with webui at all. Need to use --nowebui for the api to work, however /docs is still missing

@smoo7h
Copy link

smoo7h commented May 5, 2023

same issue here, my api is working fine though

@hubcart
Copy link
Author

hubcart commented May 5, 2023

I went back to and old commit to get a working version. just made me feel more comfortable being able to see the /docs page (even though api was working). I never did this before so I asked chatgpt how and it was pretty simple. here are the steps to revert back to a working version. you can probably get a more recent that is working, I just chose two weeks back.

  1. Clone the repo (if you haven't already)
    git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

  2. Go to the directory
    cd stable-diffusion-webui

  3. Checkout the past version
    git checkout 6fbd85d

  4. Create Branch.
    git checkout -b 6fbd85d

After this then you you do your normal steps.

For me on linux (for a new server and install) I activated pytorch and conda, made all my initial pip, virtualenv, cmake, etc installs, then did the above steps. The I activated my virtual env and started a screen, then launched the app.

I hope that helps.

EDIT: Installing Extensions broke it again, I'm not sure how to fix that part.

@Emiya-wkq
Copy link

I encountered the same problem

@kyberias
Copy link

kyberias commented May 6, 2023

Based on quick git bisect, it is this commit that has broken it: 101a18f. The commit before that (22bcc7b) still works.

@JumpingCoconut
Copy link

Seems it was removed by gradio so they can push their new API which only works with python:

gradio-app/gradio#4054

@monsieurpooh
Copy link

Can someone just point me to the docs without me having to install an older version and revert it back later on? I just want to know a simple thing: Is it possible to get "live preview" of the image before it's done generating when using the API, or do we only get the finished product?

@hubcart
Copy link
Author

hubcart commented May 12, 2023

I think this is what you want

Screenshot 2023-05-12 095814

@w-e-w
Copy link
Collaborator

w-e-w commented May 13, 2023

should be fix in 1.2.0
reopen issue if it's not

@w-e-w w-e-w closed this as completed May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

8 participants