import gradio as gr def sayHi (message, history) return"hi!!" chatbot = gr.ChatInterface(sayHi) chatbot.launch()