Spaces:
Sleeping
Sleeping
idk how to use random
Browse files123456import gradio as grdef echo(message, history):return messagechatbot = gr.ChatInterface(echo, type = "message")123456789import gradio as grimport randomdef echo(message, history):choices = ["yes", "no"]choices[random.random()]return messagechatbot = gr.ChatInterface(echo, type = "message")
app.py+3