File size: 534 Bytes
51db31d
 
6fda2c8
51db31d
6fda2c8
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()