Download app.py from Jamoni/testing: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/Jamoni/testing/resolve/main/app.py
- Command line
-
hf download hf://spaces/Jamoni/testing/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Jamoni/testing/resolve/main/app.py
266 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| def add(one, two): | |
| sum = one + two | |
| return sum | |
| iface = gr.Interface(fn=greet, inputs="text", outputs=sum) | |
| iface.launch() |