Spaces:
Sleeping
Sleeping
ASG Models
commited on
Update app.py
Browse files
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(
|
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()
|