123LETSPLAY commited on
Commit
6cd5706
1 Parent(s): 46556d6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def reverse_text(input_text):
4
+ return input_text[::-1]
5
+
6
+ iface = gr.Interface(fn=reverse_text,
7
+ inputs="text",
8
+ outputs="text",
9
+ title="Text Reverser",
10
+ description="Enter text to see it reversed.")
11
+
12
+ iface.launch()