Spaces:
Build error
Build error
Update app.py
Browse files123456import gradio as grdef echo(message, history):return messagechatbot = gr.ChatInterface(echo, type = "messages")chatbot.launch()123456789import gradio as grimport randomdef echo(message, history):choices = ("yes", "no")response = choices.random()return responsechatbot = gr.ChatInterface(echo, type = "messages")chatbot.launch()
app.py+4-1