1234567import gradio as gr def echo(message, history): return message chatbot = gr.ChatInterface(echo) 12345678import gradio as grimport random def respond(message, history): return random.choice(["Yes", "No"]) chatbot = gr.ChatInterface(echo)
1234567import gradio as gr def echo(message, history): return message chatbot = gr.ChatInterface(echo)
12345678import gradio as grimport random def respond(message, history): return random.choice(["Yes", "No"]) chatbot = gr.ChatInterface(echo)