romanbredehoft-zama
commited on
Commit
•
9e637e6
1
Parent(s):
0287aa5
Add key representation
Browse files
app.py
CHANGED
@@ -365,6 +365,9 @@ with demo:
|
|
365 |
with gr.Column():
|
366 |
gr.Markdown("### Client ")
|
367 |
encrypt_button_1 = gr.Button("Encrypt the inputs and send to server.")
|
|
|
|
|
|
|
368 |
encrypted_input_1 = gr.Textbox(
|
369 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
370 |
)
|
@@ -375,6 +378,9 @@ with demo:
|
|
375 |
with gr.Column():
|
376 |
gr.Markdown("### Bank ")
|
377 |
encrypt_button_2 = gr.Button("Encrypt the inputs and send to server.")
|
|
|
|
|
|
|
378 |
encrypted_input_2 = gr.Textbox(
|
379 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
380 |
)
|
@@ -385,6 +391,9 @@ with demo:
|
|
385 |
with gr.Column():
|
386 |
gr.Markdown("### Third Party ")
|
387 |
encrypt_button_3 = gr.Button("Encrypt the inputs and send to server.")
|
|
|
|
|
|
|
388 |
encrypted_input_3 = gr.Textbox(
|
389 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
390 |
)
|
|
|
365 |
with gr.Column():
|
366 |
gr.Markdown("### Client ")
|
367 |
encrypt_button_1 = gr.Button("Encrypt the inputs and send to server.")
|
368 |
+
keys_1 = gr.Textbox(
|
369 |
+
label="Keys representation:", max_lines=2, interactive=False
|
370 |
+
)
|
371 |
encrypted_input_1 = gr.Textbox(
|
372 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
373 |
)
|
|
|
378 |
with gr.Column():
|
379 |
gr.Markdown("### Bank ")
|
380 |
encrypt_button_2 = gr.Button("Encrypt the inputs and send to server.")
|
381 |
+
keys_2 = gr.Textbox(
|
382 |
+
label="Keys representation:", max_lines=2, interactive=False
|
383 |
+
)
|
384 |
encrypted_input_2 = gr.Textbox(
|
385 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
386 |
)
|
|
|
391 |
with gr.Column():
|
392 |
gr.Markdown("### Third Party ")
|
393 |
encrypt_button_3 = gr.Button("Encrypt the inputs and send to server.")
|
394 |
+
keys_3 = gr.Textbox(
|
395 |
+
label="Keys representation:", max_lines=2, interactive=False
|
396 |
+
)
|
397 |
encrypted_input_3 = gr.Textbox(
|
398 |
label="Encrypted input representation:", max_lines=2, interactive=False
|
399 |
)
|