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/266437661abc6da2a3d307dd67cab2caaec8fa33/app.py
- Command line
-
hf download hf://spaces/devilent2/hello_world_api@266437661abc6da2a3d307dd67cab2caaec8fa33/app.py
-
curl -L -o app.py https://huggingface.co/spaces/devilent2/hello_world_api/resolve/266437661abc6da2a3d307dd67cab2caaec8fa33/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() |