Devmurari commited on
Commit
8a93931
·
1 Parent(s): ad7847d
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 predict(text):
4
+ return text.upper()
5
+
6
+ demo = gr.Interface(
7
+ fn=predict,
8
+ inputs="text",
9
+ outputs="text"
10
+ )
11
+
12
+ demo.launch()