Spaces:
Sleeping
Sleeping
another try
Browse files2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]choices[random.random()]return messagechatbot = gr.ChatInterface(echo, type = "message")2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]yes_or_no = choices[random.random()]return yes_or_nochatbot = gr.ChatInterface(echo, type = "message")
app.py+2-2