bhavya-k commited on
Commit
215e875
·
verified ·
1 Parent(s): 0b0ce58
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -101,13 +101,14 @@ with gr.Blocks(theme='hmb/amethyst') as demo:
101
  """
102
  )
103
 
104
- chatbot = gr.Chatbot()
105
- msg = gr.Textbox(placeholder="Say hi to WrapIT here!")
 
 
106
  send = gr.Button("Send")
107
 
108
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
109
  send.click(respond, [msg, chatbot], [msg, chatbot])
110
 
111
- chatbot = gr.ChatInterface(respond, type='messages', theme='hmb/amethyst')
112
  chatbot.launch(debug=True)
113
  demo.launch()
 
101
  """
102
  )
103
 
104
+
105
+
106
+ chatbot = gr.ChatInterface(respond, type='messages', theme='hmb/amethyst')
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()