import gradio as gr def echo(message, history) return message chatbot = gr.ChatInterface(echo) #chatbot UI - coversation history and user input chatbot.launch()