Spaces:
Sleeping
Sleeping
Update app.py
Browse files2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes","no"]rd.choices()return messagechatbot = gr.ChatInterface(echo, type = "messages")2 unmodified lines3456789102 unmodified linesdef echo(message, history):choices = ["yes","no"]random_choice = rd.choice(choices)return random_choicechatbot = gr.ChatInterface(echo, type = "messages")
app.py+2-2