PythonCode / app.py
c4r-sty's picture
Edit Code + add title
66e39a0 verified
Raw History Blame
223 Bytes
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()