Spaces:
Runtime error
Runtime error
Download app.py from decodingdatascience/10junapp: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/decodingdatascience/10junapp/resolve/main/app.py
- Command line
-
hf download hf://spaces/decodingdatascience/10junapp/app.py
-
curl -L -o app.py https://huggingface.co/spaces/decodingdatascience/10junapp/resolve/main/app.py
205 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() |