HelloAI1 commited on
Commit
fab9dcf
·
1 Parent(s): 7bcfb75
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -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()