import gradio as gr DISCLAIMER = """ ⚠️ This is a demo of ClaimMore's AI architecture. Not tax advice. For personal tax matters, consult a registered tax agent. """ def respond(message, history): response = ( f"{DISCLAIMER}\n\n" f"You asked:\n{message}\n\n" f"This demo shows how ClaimMore will respond using public ATO guidance.\n" f"(RAG + validation coming next)" ) return response with gr.Blocks(title="ClaimMore – AI Tax Assistant (Demo)") as demo: gr.Markdown("# ClaimMore – AI Tax Assistant") gr.Markdown( "Ask a **general** Australian tax deduction question " "(no personal or financial data)." ) chatbot = gr.Chatbot() msg = gr.Textbox( placeholder="E.g. Can I claim work-from-home expenses in Australia?", label="Your question" ) clear = gr.Button("Clear") msg.submit(respond, [msg, chatbot], chatbot) clear.click(lambda: None, None, chatbot) demo.launch()