File size: 223 Bytes
3f55a9c
44d3cb2
3f55a9c
44d3cb2
66e39a0
44d3cb2
3f55a9c
66e39a0
3f55a9c
1
2
3
4
5
6
7
8
9
import gradio as gr
import random

def chance(message, history):
    response_options["yes", "no"]
    return random.choice(response_options)

chatbot = gr.ChatInterface(chance, title = "Yes or No Chatbot")
chatbot.launch()