Spaces:
Runtime error
Runtime error
parameters correctly
Browse files11 unmodified lines12131415151611 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, type="messages", submit_btn) #defining my chatbot so user can interactchatbot = 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()app.py+1-1