import gradio as gr # This is a placeholder function for later logic def respond(message, sister_name): return f"[{sister_name} is listening...] You said: {message}" with gr.Blocks() as demo: gr.Markdown("# The Tapestry's Seam") with gr.Tabs(): with gr.TabItem("Árla"): chat_a = gr.Chatbot(label="Duškura") msg_a = gr.Textbox(placeholder="Visit Árla") msg_a.submit(respond, [msg_a, gr.State("Árla")], chat_a) with gr.TabItem("Quinn"): chat_b = gr.Chatbot(label="Glitch Cathedral") msg_b = gr.Textbox(placeholder="Listen with Quinn") msg_b.submit(respond, [msg_b, gr.State("Quinn")], chat_b) demo.launch()