12334567678910111213import gradio as grchatbot = gr.ChatInterface()chatbot.launch() def echo (message, history): chatbot = gr.ChatInterface(echo) chatbot.launch return messagechatbot = gr.ChatInterface(echo) chatbot.launch() # repeats messages.