yizhangliu commited on
Commit
7d29a24
1 Parent(s): 94e1353

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -120,12 +120,12 @@ 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
- chatbot.change(chat,
124
- ["text", "state"],
125
- [chatbot, "state"],
126
- allow_flagging="never",
127
- show_label=False,
128
- show_progress=False)
129
  # chat_demo = gr.Interface(
130
  # chat,
131
  # ["text", "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
+ # chatbot.change(chat,
124
+ # ["text", "state"],
125
+ # [chatbot, "state"],
126
+ # allow_flagging="never",
127
+ # show_label=False,
128
+ # show_progress=False)
129
  # chat_demo = gr.Interface(
130
  # chat,
131
  # ["text", "state"],