Download Gradio app.py from limitx/stablediffusionFYP: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/limitx/stablediffusionFYP/resolve/main/Gradio%20app.py
- Command line
-
hf download 'hf://limitx/stablediffusionFYP/Gradio app.py'
-
curl -L -o 'Gradio app.py' https://huggingface.co/limitx/stablediffusionFYP/resolve/main/Gradio%20app.py
149 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() |