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

Pass root_path argument in web_server.py #2489

Closed
pweglik opened this issue Sep 28, 2023 · 1 comment · Fixed by #2807
Closed

Pass root_path argument in web_server.py #2489

pweglik opened this issue Sep 28, 2023 · 1 comment · Fixed by #2807

Comments

@pweglik
Copy link

pweglik commented Sep 28, 2023

When using demo web_server.py I tried to deploy it using nginx. I needed to pass extra root_path argument to launch() function. It wasn't possible using library web_server so I had to copy the code and run my own version, should be easy fix.

@merrymercy
Copy link
Member

Could you contribute a pull request?

stephanbertl added a commit to stephanbertl/FastChat that referenced this issue Dec 12, 2023
Will allow gradio to run on a different root path.
Fixes lm-sys#2489
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants