import gradio as gr def respond( message, history: list[tuple[str, str]], ): return "ok" """ For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface """ demo = gr.ChatInterface( respond, ) if __name__ == "__main__": demo.launch()