Skip to content

Conversation

@venshine
Copy link

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:

python visualizer_drag_gradio.py --listen

If you want to run DragGAN Gradio demo with given server port, for example port 8888:

python visualizer_drag_gradio.py --port=8888

@cobanov
Copy link
Contributor

cobanov commented Jun 29, 2023

--listen flag is so crucial to open port from docker container to local in order to interact without ssh tunneling

Copy link
Collaborator

@LeoXing1996 LeoXing1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@venshine venshine requested a review from LeoXing1996 July 17, 2023 09:36
@rajnish159
Copy link

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.

this command :- !python /content/DragGAN/visualizer_drag_gradio.py

Copy link

@rajnish159 rajnish159 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

4 participants