text-generation-webui
text-generation-webui copied to clipboard
i cant get the api to work at all even on colab notebooks
Describe the bug
so ive tried getting the api to work and no matter what i try even after enabling api in both gradio and python i get this API Docs
No named API Routes found for http://127.0.0.1:7860/
To expose an API endpoint of your app in this page, set the api_name parameter of the event listener. For more information, visit the API Page guide . To hide the API documentation button and this page, set show_api=False in the Blocks.launch() method. and the other api endpoint generates a jsondecode error everything else works fine but this
Is there an existing issue for this?
- [X] I have searched the existing issues
Reproduction
running with python --extensions api --listener --no-streaming
Screenshot
No response
Logs
API Docs
No named API Routes found for http://127.0.0.1:7860/
To expose an API endpoint of your app in this page, set the api_name parameter of the event listener.
For more information, visit the [API Page guide](https://gradio.app/sharing_your_app/#api-page) . To hide the API documentation
System Info
windows and linux
If you're using the API extension the default port is 5000 and the endpoint is /api/v1/generate
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.