[Bug]: /docs page isn't showing anymore?
Is there an existing issue for this?
- [X] 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
- 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
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
same issue here, my api is working fine though
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.
-
Clone the repo (if you haven't already) git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
-
Go to the directory cd stable-diffusion-webui
-
Checkout the past version git checkout 6fbd85dd0c0dffc06560bff91f4c4b65e441ca5f
-
Create Branch. git checkout -b 6fbd85dd0c0dffc06560bff91f4c4b65e441ca5f
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.
I encountered the same problem
Based on quick git bisect, it is this commit that has broken it: 101a18fc8466577501b57eac6a4b5d07351c9ec6. The commit before that (22bcc7be428c94e9408f589966c2040187245d81) still works.
Seems it was removed by gradio so they can push their new API which only works with python:
https://github.com/gradio-app/gradio/issues/4054
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?
I think this is what you want
should be fix in 1.2.0 reopen issue if it's not