Spaces:
Runtime error
Runtime error
Download app.py from Greatmonkey/parking: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/Greatmonkey/parking/resolve/main/app.py
- Command line
-
hf download hf://spaces/Greatmonkey/parking/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Greatmonkey/parking/resolve/main/app.py
287 Bytes
| import gradio as gr | |
| def return_text(input_text): | |
| return "You entered: " + input_text | |
| iface = gr.Interface( | |
| fn=return_text, | |
| inputs="text", | |
| outputs="text", | |
| title="Simple Text Return", | |
| description="Enter some text and see it returned." | |
| ) | |
| iface.launch(share=True) | |