cafe3310 commited on
Commit
a339ccc
·
1 Parent(s): 3fed591

fix: Correct arguments for bot function in Gradio app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ with gr.Blocks() as demo:
24
  yield history, raw_token_text
25
 
26
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
27
- bot, [chatbot, token_debugger], [chatbot, token_debugger]
28
  )
29
  clear.click(lambda: None, None, chatbot, queue=False)
30
 
 
24
  yield history, raw_token_text
25
 
26
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
27
+ bot, chatbot, [chatbot, token_debugger]
28
  )
29
  clear.click(lambda: None, None, chatbot, queue=False)
30