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