Spaces:
Sleeping
Sleeping
Download app.py from LLLLLLY/Test_gradio_1: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/spaces/LLLLLLY/Test_gradio_1/resolve/main/app.py
- Command line
-
hf download hf://spaces/LLLLLLY/Test_gradio_1/app.py
-
curl -L -o app.py https://huggingface.co/spaces/LLLLLLY/Test_gradio_1/resolve/main/app.py
174 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "(LY)北京工商大学欢迎您:" + name | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() |