fjassim commited on
Commit
14c8a2c
·
verified ·
1 Parent(s): 875b9f6

Created app.py

Browse files

Defined an echo function to echo my message as the chatbot

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