Spaces:
Sleeping
Sleeping
Added in random message yes or no
Browse files12334456768910import gradio as grimport random
def echo(message, history): return messagedef random_response(message, history): response_options = ["yes", "no"] return random.choice(response_options) chatbot = gr.ChatInterface(echo)chatbot = gr.ChatInterface(random_response)
chatbot.launch()app.py+5-3