1234567import gradio as grimport randomdef respond(message, history): responses = ["Yes", "No"] return random.choice(responses)chatbot = gr.ChatInterface(respond, type="messages")chatbot.launch()