Spaces:
Sleeping
Sleeping
Download app.py from amandaodoo/gradio: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/amandaodoo/gradio/resolve/main/app.py
- Command line
-
hf download hf://spaces/amandaodoo/gradio/app.py
-
curl -L -o app.py https://huggingface.co/spaces/amandaodoo/gradio/resolve/main/app.py
256 Bytes
| import gradio as gr | |
| def saludar(nombre): | |
| return f"Hola, {nombre}!" | |
| demo = gr.Interface( | |
| fn=saludar, | |
| inputs="text", | |
| outputs="text", | |
| title="App basica con Gradio", | |
| description="Escribi tu nombre y la app te saluda." | |
| ) | |
| demo.launch() |