chenjoya commited on
Commit
df16240
1 Parent(s): c310219

yield history when needs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ with gr.Blocks(title="VideoLLM-online", css=css) as demo:
103
  query, response = liveinfer()
104
  if query or response:
105
  history[-1][1] += f'\n{response}'
106
- yield history
107
  gr_liveinfer_queue_refresher.change(gr_liveinfer_queue_refresher_change, inputs=[gr_chat_interface.chatbot], outputs=[gr_chat_interface.chatbot])
108
 
109
  demo.queue()
 
103
  query, response = liveinfer()
104
  if query or response:
105
  history[-1][1] += f'\n{response}'
106
+ yield history
107
  gr_liveinfer_queue_refresher.change(gr_liveinfer_queue_refresher_change, inputs=[gr_chat_interface.chatbot], outputs=[gr_chat_interface.chatbot])
108
 
109
  demo.queue()