agentpx commited on
Commit
5c43ee8
·
1 Parent(s): f3eed80
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hello World
2
+ import gradio as gr
3
+ def greet(name):
4
+ return "Hello " + name + "!"
5
+
6
+ #demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo = gr.Interface(
8
+ fn=greet,
9
+ inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
10
+ outputs="text",
11
+ )
12
+ demo.launch(share=True)