Spaces:
Sleeping
Sleeping
added changes
Browse files123456789import gradio as grdef echo(message,history):return messagechatbot = gr.ChatInterface(echo)chatbot.launch()1234567891011import gradio as grimport randomdef random_response(message,history):response_options = ["yes", "no"]return random.choice(response_options)chatbot = gr.ChatInterface(random_response)chatbot.launch()
app.py+5-3