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