Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixing indent errors
app.py
CHANGED
|
@@ -47,20 +47,20 @@ with gr.Blocks(title="ElevAItion Ritual Builder") as demo:
|
|
| 47 |
submit_btn.click(submit_toi, [name, email, boundary], output)
|
| 48 |
|
| 49 |
with gr.Tab("Validate OTOI (Orchestrated)"):
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
label="Your TOI Boundary (from Submit TOI tab)",
|
| 58 |
placeholder="e.g., 'No data retention beyond 24h'"
|
| 59 |
)
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
validate_otoi,
|
| 65 |
[hash_input, toi_boundary], # Pass TOI text for conflict check
|
| 66 |
result
|
|
|
|
| 47 |
submit_btn.click(submit_toi, [name, email, boundary], output)
|
| 48 |
|
| 49 |
with gr.Tab("Validate OTOI (Orchestrated)"):
|
| 50 |
+
gr.Markdown("""
|
| 51 |
+
**1. Governance Check**
|
| 52 |
+
→ Does TOI conflict with laws/platform rules?
|
| 53 |
+
**2. ElevAItor Activation**
|
| 54 |
+
→ This AI becomes your advocate for *all* connected AIs
|
| 55 |
+
""")
|
| 56 |
+
toi_boundary = gr.Textbox(
|
| 57 |
label="Your TOI Boundary (from Submit TOI tab)",
|
| 58 |
placeholder="e.g., 'No data retention beyond 24h'"
|
| 59 |
)
|
| 60 |
+
hash_input = gr.Textbox(label="Provenance Hash")
|
| 61 |
+
validate_btn = gr.Button("Validate OTOI")
|
| 62 |
+
result = gr.Textbox(label="Validation Result", lines=5)
|
| 63 |
+
validate_btn.click(
|
| 64 |
validate_otoi,
|
| 65 |
[hash_input, toi_boundary], # Pass TOI text for conflict check
|
| 66 |
result
|