import subprocess, sys subprocess.check_call([sys.executable, "-m", "pip", "install", "healspace==0.1.0"]) import healspace import gradio as gr def demo_function(): # HealSpace guardian seal return healspace.seal() with gr.Blocks() as demo: gr.Markdown("## HealSpace Demo Capsule") gr.Markdown("Press the button below to see HealSpace enforce its ritual seal.") btn = gr.Button("Error this Space") output = gr.Textbox(label="HealSpace Output") btn.click(fn=demo_function, outputs=output) demo.launch()