flascala commited on
Commit
ebc4585
·
verified ·
1 Parent(s): 2075d8d

creating first chatbot - basic set up to echo what user types

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def echo(new_message,history):
4
+ return new_message
5
+
6
+ chatbot = gr.ChatInterface(echo)
7
+
8
+ chatbot.launch()