Spaces:
Runtime error
Runtime error
Download app.py from devilent2/hello_world_api: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/spaces/devilent2/hello_world_api/resolve/9d4faceb2b8fd8b2b41f8e91e63a8f0cd4e8b7ff/app.py
- Command line
-
hf download hf://spaces/devilent2/hello_world_api@9d4faceb2b8fd8b2b41f8e91e63a8f0cd4e8b7ff/app.py
-
curl -L -o app.py https://huggingface.co/spaces/devilent2/hello_world_api/resolve/9d4faceb2b8fd8b2b41f8e91e63a8f0cd4e8b7ff/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() |