Spaces:
Sleeping
Sleeping
File size: 277 Bytes
02ee6ce b7b615e 02ee6ce b7b615e d146794 b7b615e 02ee6ce |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import gradio as gr
import random
def echo(message, history):
return message
def yes_no(message, history):
responses = ["Yes", "No"]
return random.choice(responses)
chatbot = gr.ChatInterface(yes_no, type="messages", theme="mgetz/matt_theme_1")
chatbot.launch() |