pyoyoso commited on
Commit
9b236e1
1 Parent(s): 5c1297a

Upload code.py

Browse files
Files changed (1) hide show
  1. code.py +8 -0
code.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!"
5
+
6
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+
8
+ demo.launch()