File size: 317 Bytes
bbbaf91 d89c65a bbbaf91 | 1 2 3 4 5 6 7 8 9 | 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() |