12345678import gradio as gr def echo(messaged, history): return messaged chatbot = gr.ChatInterface(echo) chatbot.launch()