Spaces:
Runtime error
Runtime error
last try
Browse files11 unmodified lines121314151611 unmodified linesdef eight_ball(message, history):return random.choice(["Yes", "No", "It is looking likely", "If the stars align", "Maybe...", "Cannot confirm or deny", "It is 50/50", "That, I cannot answer"])chatbot = gr.ChatInterface(title="Cassie's 8s", description="Let my magic 8 ball predict the future! Chatbot interacted with at your own risk", eight_ball, submit_btn, type="messages") #defining my chatbot so user can interactchatbot.launch()11 unmodified lines121314151611 unmodified linesdef eight_ball(message, history):return random.choice(["Yes", "No", "It is looking likely", "If the stars align", "Maybe...", "Cannot confirm or deny", "It is 50/50", "That, I cannot answer"])chatbot = gr.ChatInterface(eight_ball, title="Cassie's 8s", description="Let my magic 8 ball predict the future! Chatbot interacted with at your own risk",type="messages") #defining my chatbot so user can interactchatbot.launch()
app.py+1-1