mgetz commited on
Commit
d146794
·
verified ·
1 Parent(s): 02ee6ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import gradio as gr
2
 
3
- chatbot = gr.ChatInterface()
 
 
 
4
  chatbot.launch()
 
1
  import gradio as gr
2
 
3
+ def yes_no(message, history):
4
+ return message
5
+
6
+ chatbot = gr.ChatInterface(yes_no, type="messages")
7
  chatbot.launch()