Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import random | |
| def echo(message, history): | |
| return(message) | |
| def yes_no(messsage, history): | |
| responses = ["Yes", "No", "Maybe", "Definitely", "Ask me later", "Absolutely not"] | |
| return random.choice(responses) | |
| print("Hello, World") | |
| chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not", theme='earneleh/paris') | |
| chatbot.launch() |