ASG Models commited on
Commit
1e709ac
·
verified ·
1 Parent(s): 86156a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def dash(text):
84
  for chunk in response:
85
  yield chunk.text
86
  # return textai
87
- outtextbox = gr.Textbox( streaming_text=True)
88
 
89
  demo = gr.Interface(fn=dash, inputs="text", outputs=[outtextbox])
90
  demo.launch()
 
84
  for chunk in response:
85
  yield chunk.text
86
  # return textai
87
+ outtextbox = gr.Textbox( streaming=True)
88
 
89
  demo = gr.Interface(fn=dash, inputs="text", outputs=[outtextbox])
90
  demo.launch()