import gradio as gr import random def random_response (message, history) : response_options = ["yes","no"] return random.chioce(response_options) chatbot = gr.ChatInterface(echo) chatbot.launch()