Duplicated from fjassim/gradioexpir
changed echo to respond yes or no randomly
123234567import gradio as grdef echo(message, history): return messageimport random def respond(message, history): return random.choice(["Yes", "No"])chatbot = gr.ChatInterface(echo)chatbot.launch()