consy commited on
Commit
51f5182
·
verified ·
1 Parent(s): 65f0481

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,9 +1,12 @@
1
  import gradio as gr
 
2
 
3
  def echo(message, history):
 
4
  return message
5
  print("Hello, World")
6
 
7
  chatbot = gr.ChatInterface(echo, type='messages')
 
8
 
9
  chatbot.launch()
 
1
  import gradio as gr
2
+ #import lines go at the top!
3
 
4
  def echo(message, history):
5
+ #always need two inputs
6
  return message
7
  print("Hello, World")
8
 
9
  chatbot = gr.ChatInterface(echo, type='messages')
10
+ #defining my chatbot so user can interact, see their conversation and send new messages
11
 
12
  chatbot.launch()