Spaces:
Paused
Paused
Download app.py from dntrplytch/grad-tutorial: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/spaces/dntrplytch/grad-tutorial/resolve/main/app.py
- Command line
-
hf download hf://spaces/dntrplytch/grad-tutorial/app.py
-
curl -L -o app.py https://huggingface.co/spaces/dntrplytch/grad-tutorial/resolve/main/app.py
199 Bytes
| import gradio as gr | |
| def greet(name, intensity): | |
| return "Hello " + name + "!" * intensity | |
| demo = gr.Interface(fn=greet, inputs=["text", "slider"], outputs="text") | |
| demo.launch(share=True) |