Spaces:
Sleeping
Sleeping
help idk how to use random
Browse files2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]choices.random()return messagechatbot = gr.ChatInterface(echo, type = "message")2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes", "no"]choices.random(message)return choiceschatbot = gr.ChatInterface(echo, type = "message")
app.py+2-2