# app.py — Pi Trinity Hub V1.0.4: One Gate, Three Forges – Public Embeds Eternal import gradio as gr from pathlib import Path ASSETS = Path("assets") CREST = ASSETS / "trinity_crest.svg" # Optional # Neon CSS as HTML Injection (Eternal) NEON_STYLE_HTML = """ """ # Embed Iframes with ?embed=true (Slim, Footer-Free – HF Rite) LIMITLESS_IFRAME = """ """ SAMURAI_IFRAME = """ """ QUANTUM_IFRAME = """ """ with gr.Blocks(title="Pi Trinity Hub") as demo: # Neon Veil gr.HTML(NEON_STYLE_HTML) # Crest Banner if CREST.exists(): gr.HTML(f""" """) else: gr.Markdown("# ⚔️ PI TRINITY HUB\nOne gate. Three eternal forges.") with gr.Tabs(): with gr.Tab("🔨 LimitlessForge – Brainstorm Auditor"): gr.HTML(LIMITLESS_IFRAME) with gr.Tab("🗡️ Samurai Dojo – Quantum Oracle"): gr.HTML(SAMURAI_IFRAME) with gr.Tab("🔮 Quantum Pi Forge – Hepta Mint"): gr.HTML(QUANTUM_IFRAME) # Footer gr.HTML(""" """) if __name__ == "__main__": demo.launch( server_name="0.0.0.0", server_port=7860, share=True )