import gradio as gr import random def chance(message, history): response_options = ["yes", "no", "maybe", "potentially", "your future is blurred"] return random.choice(response_options) chatbot = gr.ChatInterface(chance, title = "Magic 8-Ball Chatbot") chatbot.launch()