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

Add server_name parameter to the launch function in interface.py #44

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

xvyv99
Copy link
Contributor

@xvyv99 xvyv99 commented Nov 12, 2024

To address the access limitations when running Jupyter Notebook in non-local environments (such as remote servers), modifications to the launch function in interface.py are required.

Since Gradio by default only allows access requests from localhost (127.0.0.1), remote users are unable to connect to the Gradio interface.

Therefore, I add a server_name parameter to the launch function, which users can set to "0.0.0.0" to enable remote Jupyter access.

The result is as follows:
image

@Jokeren Jokeren merged commit d742ddb into Deep-Learning-Profiling-Tools:main Nov 26, 2024
1 check passed
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 this pull request may close these issues.

2 participants