Spaces:
Sleeping
Sleeping
i think i got random
Browse files2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]choices.random(message)return choiceschatbot = gr.ChatInterface(echo, type = "message")2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]random_choices = random.choicesreturn random_choiceschatbot = gr.ChatInterface(echo, type = "message")
app.py+2-2