2 unmodified lines345676789102 unmodified lines def echo(message, history): choices = ["yes", "no"] message = random.choice(choices) return message new = random.choice(choices) return new chatbot = gr.ChatInterface(echo, type = "messages")