Spaces:
Runtime error
Runtime error
Download app.py from weiwp/regression: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/weiwp/regression/resolve/main/app.py
- Command line
-
hf download hf://spaces/weiwp/regression/app.py
-
curl -L -o app.py https://huggingface.co/spaces/weiwp/regression/resolve/main/app.py
271 Bytes
| import gradio as gr | |
| def greet(name, number): | |
| return "Hello Damon!! " + f"I see you eating {number} cups of {name}, haha !!" | |
| iface = gr.Interface(fn=greet, | |
| inputs=["text", gr.Slider(0, 100)], | |
| outputs="text") | |
| iface.launch() | |
| # auth=("admin", "123") ) | |