Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -270,7 +270,7 @@ with gr.Blocks(title="Secure Decoder API", theme=gr.themes.Soft()) as demo:
|
|
270 |
gr.Markdown("## How to Use This API")
|
271 |
gr.Markdown("### Step 1: Get the Server's Public Key")
|
272 |
gr.Markdown("You must use this public key to encrypt data intended for this server. Save it to a file (e.g., `server_pub.pem`).")
|
273 |
-
gr.Code(value=PUBLIC_KEY_PEM_STRING, language="
|
274 |
|
275 |
with gr.Accordion("Step 2: Create the Encrypted Image (Client-Side Python Example)", open=True):
|
276 |
gr.Markdown("Use the following Python code in your client application to create a KeyLock image.")
|
|
|
270 |
gr.Markdown("## How to Use This API")
|
271 |
gr.Markdown("### Step 1: Get the Server's Public Key")
|
272 |
gr.Markdown("You must use this public key to encrypt data intended for this server. Save it to a file (e.g., `server_pub.pem`).")
|
273 |
+
gr.Code(value=PUBLIC_KEY_PEM_STRING, language="python", label="Server Public Key")
|
274 |
|
275 |
with gr.Accordion("Step 2: Create the Encrypted Image (Client-Side Python Example)", open=True):
|
276 |
gr.Markdown("Use the following Python code in your client application to create a KeyLock image.")
|