Spaces:
Runtime error
Runtime error
Download app.py from 123LETSPLAY/homework: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/123LETSPLAY/homework/resolve/main/app.py
- Command line
-
hf download hf://spaces/123LETSPLAY/homework/app.py
-
curl -L -o app.py https://huggingface.co/spaces/123LETSPLAY/homework/resolve/main/app.py
320 Bytes
| import gradio as gr | |
| def reverse_text(input_text): | |
| return input_text[::-1] | |
| iface = gr.Interface(fn=reverse_text, | |
| inputs="text", | |
| outputs="text", | |
| title="Text Reverser", | |
| description="Enter text to see it reversed.") | |
| iface.launch() | |