Spaces:
Sleeping
Sleeping
Download app.py from amandaodoo/basico_gradio: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/spaces/amandaodoo/basico_gradio/resolve/main/app.py
- Command line
-
hf download hf://spaces/amandaodoo/basico_gradio/app.py
-
curl -L -o app.py https://huggingface.co/spaces/amandaodoo/basico_gradio/resolve/main/app.py
239 Bytes
| import gradio as gr | |
| def saludar(nombre): | |
| return f'Hola, {nombre}!' | |
| demo = gr.Interface( | |
| fn=saludar, | |
| inputs='text', | |
| outputs='text', | |
| title='Mi primera app con Gradio', | |
| ) | |
| if __name__ == '__main__': | |
| demo.launch() | |