| import gradio as gr | |
| import random | |
| def random_response(message, history): | |
| response_options = ["Yes", "No", "Most likely", "Don't count on it", "It is certain", "Ask again later", "I'm not sure", "Definitely"] | |
| return random.choice(response_options) | |
| chatbot = gr.ChatInterface(random_response) | |
| chatbot.launch() |