Download app.py from Fareeha20Amir/diffusion-unlearning-interference: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/spaces/Fareeha20Amir/diffusion-unlearning-interference/resolve/main/app.py
- Command line
-
hf download hf://spaces/Fareeha20Amir/diffusion-unlearning-interference/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Fareeha20Amir/diffusion-unlearning-interference/resolve/main/app.py
481 Bytes
| """Gradio front end for this project's demo. | |
| The experiment, the controls and the actions all live in demo_core.py; this | |
| file only chooses a front end for them. The browser build (index.html) renders | |
| exactly the same spec without a server. | |
| """ | |
| import demo_core | |
| import demo_shell | |
| demo = demo_shell.shell_from_core( | |
| demo_core, | |
| "Is multi-concept interference schedulable? Unlearning in diffusion models.", | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch(**demo_shell.LAUNCH) | |