osanseviero commited on
Commit
7f6447d
·
1 Parent(s): 685edaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ def generate():
6
  text = "Hello, this is a demo without using streaming that emulates a model"
7
  results = ""
8
  for word in text.split():
9
- time.sleep(0.25)
10
  results.append(word + " ")
11
  yield results
12
 
@@ -15,4 +15,4 @@ gr.Interface(
15
  generate,
16
  inputs=None,
17
  outputs="text"
18
- ).launch()
 
6
  text = "Hello, this is a demo without using streaming that emulates a model"
7
  results = ""
8
  for word in text.split():
9
+ time.sleep(0.2)
10
  results.append(word + " ")
11
  yield results
12
 
 
15
  generate,
16
  inputs=None,
17
  outputs="text"
18
+ ).launch(debug=True)