Update app.py
Browse files
app.py
CHANGED
|
@@ -107,8 +107,8 @@ chatbot = gr.Chatbot()
|
|
| 107 |
msg = gr.Textbox(placeholder="Say hi to WrapIT here!")
|
| 108 |
send = gr.Button("Send")
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
|
| 113 |
chatbot.launch(debug=True)
|
| 114 |
demo.launch()
|
|
|
|
| 107 |
msg = gr.Textbox(placeholder="Say hi to WrapIT here!")
|
| 108 |
send = gr.Button("Send")
|
| 109 |
|
| 110 |
+
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 111 |
+
send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 112 |
|
| 113 |
chatbot.launch(debug=True)
|
| 114 |
demo.launch()
|