Spaces:
Sleeping
Sleeping
Update app.py
Browse files2 unmodified lines34567892 unmodified linesdef echo(message, history):choices = ["yes", "no"]yes_or_no = int(choices[random.random()])return yes_or_nochatbot = gr.ChatInterface(echo, type = "message")2 unmodified lines34567892 unmodified linesdef echo(message, history):choices = ["yes", "no"]yes_or_no = random.choice(choices)return yes_or_nochatbot = gr.ChatInterface(echo, type = "message")
app.py+1-1