ChatBot_Lab / app.py
AriniR's picture
Update app.py
e1664bc verified
raw
history blame
377 Bytes
import gradio as gr
import random
def random_message (message, history):
choices = ('yes','no','i dont think so,'be so for real','yep', 'woooow', 'hmmmm', 'idk', 'idc', 'yaaay', 'why would i know')
wow = random.choice(choices)
return wow
chatbot = gr.ChatInterface(random_message, type = "messages", title = "chatty")
chatbot.launch()
# repeats messages.