ChatbotLab / app.py
Pengi5659's picture
Update app.py
fedb657 verified
raw
history blame
238 Bytes
import gradio as gr
import random as rd
def ran_mes(message, history):
choices = ["yes","no"]
random_choice = rd.choice(choices)
return random_choice
chatbot = gr.ChatInterface(echo, type = "messages")
chatbot.launch()