Download app.py from lesile/DragGAN: direct link, hf CLI and curl.
- Browser
- Download file 90 Bytes
-
https://huggingface.co/spaces/lesile/DragGAN/resolve/main/app.py
- Command line
-
hf download hf://spaces/lesile/DragGAN/app.py
-
curl -L -o app.py https://huggingface.co/spaces/lesile/DragGAN/resolve/main/app.py
90 Bytes
| import os | |
| os.system("pip install draggan") | |
| os.system("python -m draggan.web --device cpu") |