Spaces:
Sleeping
Sleeping
Download app.py from seanangbee/text_reverse: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/seanangbee/text_reverse/resolve/main/app.py
- Command line
-
hf download hf://spaces/seanangbee/text_reverse/app.py
-
curl -L -o app.py https://huggingface.co/spaces/seanangbee/text_reverse/resolve/main/app.py
339 Bytes
| import gradio as gr | |
| def reverse_text(text): | |
| return text[::-1] | |
| app = gr.Interface(fn = reverse_text, | |
| inputs = gr.Textbox(label="Enter text to reverse"), | |
| outputs = "text", | |
| title="Text Reverser", | |
| description="Type something and see it reversed!") | |
| app.launch() |