Antoine245 commited on
Commit
540249f
·
1 Parent(s): c0cbfd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
54
  response = btn.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
55
  bot, chatbot, chatbot
56
  )
57
- # response.then(lambda: gr.update(interactive=True), None, [msg], queue=False)
58
 
59
  demo.queue()
60
  demo.launch()
 
54
  response = btn.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
55
  bot, chatbot, chatbot
56
  )
57
+ response.then(lambda: gr.update(interactive=True), None, [msg], queue=False)
58
 
59
  demo.queue()
60
  demo.launch()