onyiokoye commited on
Commit
3d03402
·
verified ·
1 Parent(s): aae6802

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,7 +1,13 @@
1
  import gradio as gr
2
  #import lines go at the top. Any libraries I needa import, go up here^^
3
 
4
- #defining my chatbot so that the user can inteact and see their conversation history and send new messages
 
 
 
 
 
 
5
  chatbot = gr.ChatInterface()
6
 
7
  #we are launching our chatbot
 
1
  import gradio as gr
2
  #import lines go at the top. Any libraries I needa import, go up here^^
3
 
4
+ #we are coding a function that our chatbot will be able to run
5
+ #if you say hello, the chatbot says hello back
6
+ def echo(message, history):
7
+ return message
8
+
9
+ #defining my chatbot so that the user can inteact and see their conversation...
10
+ #history and send new messages
11
  chatbot = gr.ChatInterface()
12
 
13
  #we are launching our chatbot