osanseviero HF staff commited on
Commit
fe97494
1 Parent(s): a4d571d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import time
3
+
4
+
5
+ def generate():
6
+ text = "Hello, this is a demo without using streaming that emulates a model"
7
+ time.sleep(3)
8
+
9
+ gr.Interface(
10
+ generate,
11
+ inputs=None,
12
+ outputs="text"
13
+ )