Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
HelloAI1
/
textReverse
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
HelloAI1
commited on
Nov 17, 2023
Commit
fab9dcf
·
1 Parent(s):
7bcfb75
Demo
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
3
+
def reverse_text(text):
4
+
return text[::-1]
5
+
6
+
iface = gr.Interface(fn=reverse_text, inputs="text", outputs="text", title="Text Reverser")
7
+
iface.launch()