Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -354,7 +354,7 @@ with gr.Blocks() as app:
|
|
| 354 |
rsa_dec_btn = gr.Button("RSA Decrypt")
|
| 355 |
rsa_dec_mes = gr.Textbox(label="decoded")
|
| 356 |
gr.Column()
|
| 357 |
-
rsa_enc_btn.click(encrypt_text1,[rsa_to_enc,out2,out3],rsa_enc_mes,qr_enc_mes)
|
| 358 |
rsa_dec_btn.click(decrypt_text1,[rsa_enc_mes,out1],rsa_dec_mes)
|
| 359 |
|
| 360 |
gen_wal_btn.click(generate_keys1,None,[out2,out1, img3,out3])
|
|
|
|
| 354 |
rsa_dec_btn = gr.Button("RSA Decrypt")
|
| 355 |
rsa_dec_mes = gr.Textbox(label="decoded")
|
| 356 |
gr.Column()
|
| 357 |
+
rsa_enc_btn.click(encrypt_text1,[rsa_to_enc,out2,out3],[rsa_enc_mes,qr_enc_mes])
|
| 358 |
rsa_dec_btn.click(decrypt_text1,[rsa_enc_mes,out1],rsa_dec_mes)
|
| 359 |
|
| 360 |
gen_wal_btn.click(generate_keys1,None,[out2,out1, img3,out3])
|