Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ with gr.Blocks(theme=theme, title="KeyLock Operations Dashboard") as demo:
|
|
166 |
with gr.TabItem("① Create KeyLock", id=0):
|
167 |
# ... UI layout is the same as your working version ...
|
168 |
gr.Markdown("## Step 1: Create an Encrypted Authentication Image (Local)")
|
169 |
-
gr.Markdown(f"This tool acts as the **Auth Creator**. It fetches a list of available servers from a public [configuration file]({
|
170 |
with gr.Row(variant="panel"):
|
171 |
with gr.Column(scale=2):
|
172 |
with gr.Row():
|
@@ -197,7 +197,7 @@ with gr.Blocks(theme=theme, title="KeyLock Operations Dashboard") as demo:
|
|
197 |
with gr.TabItem("ℹ️ Info & Key Generation", id=2):
|
198 |
# ... UI layout is the same as your working version ...
|
199 |
gr.Markdown("## Ecosystem Architecture")
|
200 |
-
gr.Markdown(f"This dashboard uses a public [configuration file]({
|
201 |
with gr.Accordion("🔑 RSA Key Pair Generator", open=False):
|
202 |
gr.Markdown("Create a new key pair. In a real scenario, you would add the **Public Key** and the server's **API Endpoint URL** to the `endpoints.json` configuration file, and set the **Private Key** as a secret variable in the corresponding server space.")
|
203 |
with gr.Row():
|
|
|
166 |
with gr.TabItem("① Create KeyLock", id=0):
|
167 |
# ... UI layout is the same as your working version ...
|
168 |
gr.Markdown("## Step 1: Create an Encrypted Authentication Image (Local)")
|
169 |
+
gr.Markdown(f"This tool acts as the **Auth Creator**. It fetches a list of available servers from a public [configuration file]({CREATOR_ENDPOINTS_JSON_URL}), then uses the selected server's public key to encrypt your data into a PNG. **This entire creation process happens locally.**")
|
170 |
with gr.Row(variant="panel"):
|
171 |
with gr.Column(scale=2):
|
172 |
with gr.Row():
|
|
|
197 |
with gr.TabItem("ℹ️ Info & Key Generation", id=2):
|
198 |
# ... UI layout is the same as your working version ...
|
199 |
gr.Markdown("## Ecosystem Architecture")
|
200 |
+
gr.Markdown(f"This dashboard uses a public [configuration file]({CREATOR_ENDPOINTS_JSON_URL}) to dynamically discover and interact with live services. It demonstrates a secure, decoupled workflow.")
|
201 |
with gr.Accordion("🔑 RSA Key Pair Generator", open=False):
|
202 |
gr.Markdown("Create a new key pair. In a real scenario, you would add the **Public Key** and the server's **API Endpoint URL** to the `endpoints.json` configuration file, and set the **Private Key** as a secret variable in the corresponding server space.")
|
203 |
with gr.Row():
|