ritikaaA commited on
Commit
8adf9a6
·
verified ·
1 Parent(s): e462179

set type="messages"

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
2
  # import lines go at the top! Any libraries I need to import go up ^
3
 
4
  # always need two parameters in hf
5
- def echo(message, history):
 
6
  return message
7
 
8
  chatbot = gr.ChatInterface(echo)
 
2
  # import lines go at the top! Any libraries I need to import go up ^
3
 
4
  # always need two parameters in hf
5
+ print("hello world")
6
+ def echo(message, type="messages"):
7
  return message
8
 
9
  chatbot = gr.ChatInterface(echo)