Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ with gr.Blocks() as app:
|
|
46 |
rsa_dec_mes = gr.Textbox(label="decoded")
|
47 |
|
48 |
|
49 |
-
gen_wal_btn.click(crypt.generate_keys,None,[out2,out1, img3,out3,img1,img2])
|
50 |
-
rsa_enc_btn.click(crypt.encrypt_text,[rsa_to_enc,pub_key_in,priv_key_in1,out3],[rsa_enc_mes,qr_enc_mes])
|
51 |
rsa_dec_btn.click(crypt.decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
|
52 |
|
53 |
app.launch()
|
|
|
46 |
rsa_dec_mes = gr.Textbox(label="decoded")
|
47 |
|
48 |
|
49 |
+
gen_wal_btn.click(crypt.generate_keys,None,[out2,out1, img3,out3,img1,img2])
|
50 |
+
rsa_enc_btn.click(crypt.encrypt_text,[rsa_to_enc,pub_key_in,priv_key_in1,out3],[rsa_enc_mes,qr_enc_mes])
|
51 |
rsa_dec_btn.click(crypt.decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
|
52 |
|
53 |
app.launch()
|