cbensimon HF Staff commited on
Commit
7abbec1
·
1 Parent(s): 249d6bd

Create app.py

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