saanvim commited on
Commit
557cbf0
·
verified ·
1 Parent(s): e0a5c06

set type as = to messages

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
3
 
4
  def echo(message,history):
5
  return message
6
-
7
- chatbot = gr.ChatInterface(echo)
8
  # defining my chatbot so that the user can interact and see their conversation history and send new messages
9
 
10
  chatbot.launch()
 
3
 
4
  def echo(message,history):
5
  return message
6
+ print("Hello, world!")
7
+ chatbot = gr.ChatInterface(echo, type="messages")
8
  # defining my chatbot so that the user can interact and see their conversation history and send new messages
9
 
10
  chatbot.launch()