model / app.py
yash33123's picture
Update app.py
d06af2b verified
raw
history blame contribute delete
187 Bytes
import gradio as gr
import random
def random_response(message, history):
return random.choice(["Yes", "No"])
gr.ChatInterface(
fn=random_response,
type="messages"
).launch()