Update keylock_component.py
Browse files- keylock_component.py +2 -2
keylock_component.py
CHANGED
|
@@ -136,8 +136,8 @@ class KeylockDecoderComponent(gr.components.Component):
|
|
| 136 |
gr.Markdown("Generate a new, random key pair for testing or other uses.")
|
| 137 |
generate_keys_button = gr.Button("Generate Keys", variant="secondary")
|
| 138 |
with gr.Row():
|
| 139 |
-
output_private_key = gr.Code(label="Generated Private Key", language="
|
| 140 |
-
output_public_key = gr.Code(label="Generated Public Key", language="
|
| 141 |
|
| 142 |
def on_image_upload(image):
|
| 143 |
if image is None: return None, "Upload a KeyLock image to auto-fill credentials."
|
|
|
|
| 136 |
gr.Markdown("Generate a new, random key pair for testing or other uses.")
|
| 137 |
generate_keys_button = gr.Button("Generate Keys", variant="secondary")
|
| 138 |
with gr.Row():
|
| 139 |
+
output_private_key = gr.Code(label="Generated Private Key", language="python")
|
| 140 |
+
output_public_key = gr.Code(label="Generated Public Key", language="python")
|
| 141 |
|
| 142 |
def on_image_upload(image):
|
| 143 |
if image is None: return None, "Upload a KeyLock image to auto-fill credentials."
|