Renecto commited on
Commit
2842ee5
·
verified ·
1 Parent(s): f4c5828

Create app.py

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