Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
·
76760b0
1
Parent(s):
afccef1
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks(title='Text to Image') as demo:
|
|
120 |
|
121 |
with gr.Group(elem_id="page_2", visible=False) as page_2:
|
122 |
chatbot = gr.Chatbot(elem_id="chat_bot").style(color_map=("green", "gray"))
|
123 |
-
|
124 |
chat,
|
125 |
["text", "state"],
|
126 |
[chatbot, "state"],
|
|
|
120 |
|
121 |
with gr.Group(elem_id="page_2", visible=False) as page_2:
|
122 |
chatbot = gr.Chatbot(elem_id="chat_bot").style(color_map=("green", "gray"))
|
123 |
+
chat_demo = gr.Interface(
|
124 |
chat,
|
125 |
["text", "state"],
|
126 |
[chatbot, "state"],
|