Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines4567891011123 unmodified linesdef echo(message, history):choices = ["yes", "no"]#use random to select one of these choicesreturn messageprint(f{random.choice(choices)})chatbot = gr.ChatInterface(echo, type = "messages")chatbot.launch()3 unmodified lines4567891011123 unmodified linesdef echo(message, history):choices = ["yes", "no"]#use random to select one of these choicesprint(f{random.choice(choices)})return messagechatbot = gr.ChatInterface(echo, type = "messages")chatbot.launch()
app.py+2-2