broadfield-dev commited on
Commit
65eb8ee
·
verified ·
1 Parent(s): 0bef4c2

Update keylock_component.py

Browse files
Files changed (1) hide show
  1. 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="pem")
140
- output_public_key = gr.Code(label="Generated Public Key", language="pem")
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."