Greatmonkey commited on
Commit
928593a
·
verified ·
1 Parent(s): 671f461

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def return_text(input_text):
4
+ return "You entered: " + input_text
5
+
6
+ iface = gr.Interface(
7
+ fn=return_text,
8
+ inputs="text",
9
+ outputs="text",
10
+ title="Simple Text Return",
11
+ description="Enter some text and see it returned."
12
+ )
13
+
14
+ iface.launch(share=True)