text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

api not working with public gradio url

Open ggvick opened this issue 1 year ago • 1 comments

Describe the bug

I have created a Gradio instance that uses theAPI to fetch data, but I'm having trouble getting it to work with the public Gradio URL. I'm not sure if the API works locally or not because I haven't tested it yet.

I have tried to troubleshoot the issue by checking the API endpoint, but I haven't been able to find a solution yet. I'm not sure if there's something wrong with the API or if there's something I need to change in the Gradio instance to make it work with the public URL.

Could you please help me figure out why the API is not working with the public Gradio URL? I would really appreciate any guidance or assistance you can provide.

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

  • clone the repo
  • run python server.py --share --model {model name} --listen --settings settings.json
  • copy the python example and change the server variable to the public url

Screenshot

No response

Logs

n/a

System Info

I am using a google collab notebook I made and I am running the script on my pc.

ggvick avatar Apr 14 '23 19:04 ggvick

same issue Request failed with status code: 405

darkneo29 avatar Apr 14 '23 21:04 darkneo29

This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.

github-actions[bot] avatar May 14 '23 23:05 github-actions[bot]