onyiokoye commited on
Commit
e52d102
·
verified ·
1 Parent(s): 76de4c7

set type as = messages

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def echo(message, history):
8
 
9
  #defining my chatbot so that the user can inteact and see their conversation...
10
  #history and send new messages
11
- chatbot = gr.ChatInterface(echo)
12
 
13
  #we are launching our chatbot
14
  chatbot.launch()
 
8
 
9
  #defining my chatbot so that the user can inteact and see their conversation...
10
  #history and send new messages
11
+ chatbot = gr.ChatInterface(echo, type="messages")
12
 
13
  #we are launching our chatbot
14
  chatbot.launch()