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