Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support configuring gradio startup parameters#112

Open
venshine wants to merge 3 commits intoXingangPan:mainXingangPan/DragGAN:mainfrom
venshine:mainvenshine/DragGAN:mainCopy head branch name to clipboard
Open

Support configuring gradio startup parameters#112
venshine wants to merge 3 commits intoXingangPan:mainXingangPan/DragGAN:mainfrom
venshine:mainvenshine/DragGAN:mainCopy head branch name to clipboard

Conversation

@venshine
Copy link
Copy Markdown

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

Comment thread visualizer_drag_gradio.py Outdated
@cobanov
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.