Download app.py from Onwego-io/README: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/spaces/Onwego-io/README/resolve/main/app.py
- Command line
-
hf download hf://spaces/Onwego-io/README/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Onwego-io/README/resolve/main/app.py
174 Bytes
| import gradio as gr | |
| def greet(name): | |
| return f"Hello, {name}!" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| if __name__ == "__main__": | |
| demo.launch() |