import gradio as gr import random def echo(message, history): return (message) def yes_no(message,history) : responses = ["Yes", "No", "Unlikely", "Certainly", "It's not in fate's plan", "You can count on it", "The mountains say no", "The sun points to yes"] return random.choice(responses) print("Hello World") chatbot = gr.ChatInterface(yes_no, type= "messages", title= "Fortune Teller Chatbot", description= "This is the chatbot only tells the truth", theme="SebastianBravo/simci_css") chatbot.launch()