import gradio as gr import random #import lines go at the top! Any libraries I need to import go up here ^^ def yes_or_no(message, history): return random.choice(['Yes', 'No', 'Outlook not so good', 'It is likely']) #def echo(message, history): # return message print("Hello world!") chatbot = gr.ChatInterface(yes_or_no, type= "messages", title= "Virtual 8 Ball") #defining my chatbot so that the user can interact, see their conversation history, and send new messages chatbot.launch()