osanseviero commited on
Commit
5198906
·
1 Parent(s): 246ed26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,10 +1,10 @@
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,
 
1
  import gradio as gr
2
  import time
3
 
 
4
  def generate():
5
  text = "Hello, this is a demo without using streaming that emulates a model"
6
  time.sleep(3)
7
+ return text
8
 
9
  gr.Interface(
10
  generate,