Ire-O commited on
Commit
50960e5
·
verified ·
1 Parent(s): 9f10e3f

Updated the chat interface type and testing out logs

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,6 +4,8 @@ import gradio as gr # imports the gradio library
4
  def echo(message, history):
5
  return message
6
 
7
- chatbot = gr.ChatInterface(echo) # chatbout ui - history & input
 
 
8
 
9
  chatbot.launch() # lauches chatbot
 
4
  def echo(message, history):
5
  return message
6
 
7
+ print("Hello world!") #prints in the logs
8
+
9
+ chatbot = gr.ChatInterface(echo, type="messages") # chatbout ui - history & input
10
 
11
  chatbot.launch() # lauches chatbot