Spaces:
Paused
Paused
Download app.py from tianyajum/python-agent: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/tianyajum/python-agent/resolve/main/app.py
- Command line
-
hf download hf://spaces/tianyajum/python-agent/app.py
-
curl -L -o app.py https://huggingface.co/spaces/tianyajum/python-agent/resolve/main/app.py
183 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| # 创建并启动界面 | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch() | |