trinity-tandon commited on
Commit
85aa582
·
verified ·
1 Parent(s): 215e875

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,9 +103,9 @@ with gr.Blocks(theme='hmb/amethyst') as demo:
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])
 
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])