Spaces:
Sleeping
Sleeping
Update app.py
Browse files1234567import gradio as grdef echo(message, history):return messagechatbot = gr.ChatInterface(echo, type = "messages")12345678910import gradio as grimport randomdef echo(message, history):choices = ["yes", "no"]value = random.choice(choices)return valuechatbot = gr.ChatInterface(echo, type = "messages")
app.py+4-1