Cass13 commited on
Commit
5f9eb85
·
verified ·
1 Parent(s): 3a92752

set type as messages

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
 
3
  def echo(message, history):
4
  return message #making an echo ting
5
-
6
- chatbot = gr.ChatInterface(echo) #defining my chatbot so user can interact
 
7
  chatbot.launch()
 
2
 
3
  def echo(message, history):
4
  return message #making an echo ting
5
+
6
+ print("Hello, World!")
7
+ chatbot = gr.ChatInterface(echo, type="messages") #defining my chatbot so user can interact
8
  chatbot.launch()