Update app.py
Browse files
app.py
CHANGED
|
@@ -103,12 +103,12 @@ with gr.Blocks(theme='hmb/amethyst') as demo:
|
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
-
chatbot = gr.Chatbot()
|
| 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()
|
|
|
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
+
chatbot = gr.Chatbot()
|
| 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()
|