chansung commited on
Commit
69a2f79
Β·
verified Β·
1 Parent(s): 183bd54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -386,7 +386,9 @@ with gr.Blocks(css="constants/styles.css", theme=gr.themes.Soft()) as demo:
386
  [cur_arxiv_id, local_data, prompt_txtbox, chat_state],
387
  [prompt_txtbox, chatbot, local_data, close, reset, regen],
388
  concurrency_limit=20, queue=True
389
- ).then(
 
 
390
  None, [cur_arxiv_id, local_data], None,
391
  js=UPDATE_CHAT_HISTORY
392
  )
 
386
  [cur_arxiv_id, local_data, prompt_txtbox, chat_state],
387
  [prompt_txtbox, chatbot, local_data, close, reset, regen],
388
  concurrency_limit=20, queue=True
389
+ ).
390
+
391
+ chat_event.then(
392
  None, [cur_arxiv_id, local_data], None,
393
  js=UPDATE_CHAT_HISTORY
394
  )