GreenRaptor commited on
Commit
ed151e4
·
1 Parent(s): d73ac52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,10 +46,10 @@ with gr.Blocks() as demo:
46
  # ],
47
  # live=True)
48
 
49
- txt.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
50
  bot, chatbot, chatbot
51
  )
52
- submit.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
53
  bot, chatbot, chatbot
54
  )
55
 
 
46
  # ],
47
  # live=True)
48
 
49
+ txt.submit(user, [txt, chatbot], [txt, chatbot], queue=False).then(
50
  bot, chatbot, chatbot
51
  )
52
+ submit.click(user, [txt, chatbot], [txt, chatbot], queue=False).then(
53
  bot, chatbot, chatbot
54
  )
55