Akjava commited on
Commit
78a0b1e
·
verified ·
1 Parent(s): 668c75e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,8 +93,8 @@ with gr.Blocks() as demo:
93
  console.log(chatbot)
94
  }
95
  """
96
- chatbot = gr.Chatbot()
97
- chatbot.change(None,[chatbot],[],js=js,type="messages")
98
  msg = gr.Textbox()
99
  clear = gr.ClearButton([msg, chatbot])
100
 
 
93
  console.log(chatbot)
94
  }
95
  """
96
+ chatbot = gr.Chatbot(type="messages")
97
+ chatbot.change(None,[chatbot],[],js=js)
98
  msg = gr.Textbox()
99
  clear = gr.ClearButton([msg, chatbot])
100