-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Support configuring gradio startup parameters #112
base: main
Are you sure you want to change the base?
Conversation
--listen flag is so crucial to open port from docker container to local in order to interact without ssh tunneling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
pip install draggan this command :- !python /content/DragGAN/visualizer_drag_gradio.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
pip install draggan
-
!pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu118/torch_nightly.html
-
pip install Pillow==9.5.0
-
after installing the above three software packages, you can run DragGAN normally.
Support configuring gradio startup parameters server_name and server_port:
If you want to run DragGAN Gradio demo with 0.0.0.0 as server name, allowing to respond to network requests:
If you want to run DragGAN Gradio demo with given server port, for example port 8888: