-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Problem when using the --public-api flag. #3570
Comments
Me too, have you solved this problem? |
So I fixed it by opening text-generation-webui\extensions\api\util.py and modifying public_url = _run_cloudflared(port, port + 1, tunnel_id=tunnel_id) to public_url = _run_cloudflared(port, port + 1). <<<<<< you can read it. |
Thx!!!! |
I just did a pr that should fix this so you don't have to manually edit the file. |
After pulling the latest, I have this updated code in utils.py:
However, attempting to run with the --public-api switch still produces an error and the public api never starts. Traceback (most recent call last): |
This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment. |
This is still an issue. Same error as above. @akaikite If this is still an issue, please feel free to reopen, as I'm unable to. |
Can confirm, still an issue. |
Describe the bug
I used the --api --public-api flag as usual, but got an error.
So I fixed it by opening text-generation-webui\extensions\api\util.py and modifying public_url = _run_cloudflared(port, port + 1, tunnel_id=tunnel_id) to public_url = _run_cloudflared(port, port + 1).
Is there an existing issue for this?
Reproduction
--api --public-api flag
Screenshot
No response
Logs
System Info
The text was updated successfully, but these errors were encountered: