ChatbotLab87 / app.py
mingbaer's picture
Update app.py
3d47cbb verified
raw
history blame
342 Bytes
import gradio as gr
# first, add your import lines
def echo(message, history):
return message
# Code the function that your chatbot will run!
chatbot = gr.ChatInterface(echo)
# Use gradio to create an interface where your user can use ChatInterface --> needs a function as a parameter to run
chatbot.launch()
# launches our chatbot