Spaces:
Sleeping
Sleeping
ASG Models
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,7 @@ def dash(text):
|
|
84 |
for chunk in response:
|
85 |
yield chunk.text
|
86 |
# return textai
|
|
|
87 |
|
88 |
-
demo = gr.Interface(fn=dash, inputs="text", outputs=
|
89 |
demo.launch()
|
|
|
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()
|