Ire-O commited on
Commit
9f10e3f
·
verified ·
1 Parent(s): dc96b40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,9 +1,9 @@
1
- import gradio as gr
2
 
3
- #returns the message back to the user
4
  def echo(message, history):
5
  return message
6
 
7
- chatbot = gr.ChatInterface() #chatbout ui - history & input
8
 
9
- chatbot.launch() #lauches chatbot
 
1
+ import gradio as gr # imports the gradio library
2
 
3
+ # returns the message back to the user
4
  def echo(message, history):
5
  return message
6
 
7
+ chatbot = gr.ChatInterface(echo) # chatbout ui - history & input
8
 
9
+ chatbot.launch() # lauches chatbot