Spaces:
Runtime error
Runtime error
try
Browse files12345678import gradio as grimport randomdef random_message(message, history):choices = ["you have 24 hours", "yay ur lucky or whateva", "do not step outside", "try again", "pop quiz days be like", "please tell me you're not asking about a man.", "my sources tell me no", "haha you thought", "Im like 90.9% sure your being watched", "is this a sign" girl please.", "yeah sure!!","I think if you look deep within you'll find the answer yourself...(basically idk)"]random_element = random.choice(choices)return random_elementchatbot = gr.ChatInterface(random_message, type = "messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball"))chatbot.launch()12345678import gradio as grimport randomdef random_message(message, history):choices = ["you have 24 hours", "yay ur lucky or whateva", "do not step outside", "try again", "pop quiz days be like", "please tell me you're not asking about a man.", "my sources tell me no", "haha you thought", "Im like 90.9% sure your being watched"]random_element = random.choice(choices)return random_elementchatbot = gr.ChatInterface(random_message, type = "messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title ="Eight Ball"))chatbot.launch()
app.py+2-2