Spaces:
Running
Running
Download app.py from gradio/hello_world: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/spaces/gradio/hello_world/resolve/main/app.py
- Command line
-
hf download hf://spaces/gradio/hello_world/app.py
-
curl -L -o app.py https://huggingface.co/spaces/gradio/hello_world/resolve/main/app.py
154 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch() |