matchalover commited on
Commit
7a62cb1
·
verified ·
1 Parent(s): e565071

adding print message and history

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
 
3
  def echo (message, history):
4
- print('Hello, world!')
 
 
5
  return message
6
  chatbot = gr.ChatInterface(echo, type = 'messages')
7
  chatbot.launch()
 
1
  import gradio as gr
2
 
3
  def echo (message, history):
4
+ # print('Hello, world!') example
5
+ print(message)
6
+ print(history)
7
  return message
8
  chatbot = gr.ChatInterface(echo, type = 'messages')
9
  chatbot.launch()