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