Spaces:
Sleeping
Sleeping
Update app.py
Browse files1 unmodified line234556789910111 unmodified lineimport random
def echo(message, history): choices = ("yes", "no") choices = ["yes", "no"] yes_or_no = random.choice(choices) return yes_or_no chatbot = gr.ChatInterface(echo, type = "message")chatbot = gr.ChatInterface(echo, type = "messages")
chatbot.launch()app.py+2-2