Spaces:
Build error
Build error
Update app.py
Browse files4 unmodified lines567894 unmodified lineschoices = ["yes", "no"]response = random.choice(choices)return responsechatbot = gr.ChatInterface(echo, type = "messages", examples = ["hola","ur mom","heyy!!"], title = "echo bot")chatbot.launch()4 unmodified lines567894 unmodified lineschoices = ["yes", "no"]response = random.choice(choices)return responsechatbot = gr.ChatInterface(echo, type = "messages", examples = [{"who":"user","what":"Hello!"},{"who":"ai","what":"Hi! How are you doing?"}], title = "echo bot")chatbot.launch()
app.py+1-1