Download app.py from ig-tom/test: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/spaces/ig-tom/test/resolve/main/app.py
- Command line
-
hf download hf://spaces/ig-tom/test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/ig-tom/test/resolve/main/app.py
159 Bytes
| import gradio as gr | |
| def greet(str): | |
| return "Hello " + str + "!!" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch(share=False) | |