Omnibus commited on
Commit
33a841b
·
1 Parent(s): d9650af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -55,6 +55,7 @@ with gr.Blocks() as app:
55
  rsa_dec_btn = gr.Button("RSA Decrypt")
56
  rsa_dec_mes = gr.Textbox(label="decoded")
57
 
 
58
 
59
  gen_wal_btn.click(crypt.generate_keys,None,[out2,out1,img3,out3,img1,img2]).then(crypt.test_fn,[img1,img3],[input_key,input_address])
60
  rsa_enc_btn.click(crypt.encrypt_text,[rsa_to_enc,pub_key_in,priv_key_in1,out3],[rsa_enc_mes,qr_enc_mes])
 
55
  rsa_dec_btn = gr.Button("RSA Decrypt")
56
  rsa_dec_mes = gr.Textbox(label="decoded")
57
 
58
+ pass_btn.click(checkp,pass_box,[invalid,valida])
59
 
60
  gen_wal_btn.click(crypt.generate_keys,None,[out2,out1,img3,out3,img1,img2]).then(crypt.test_fn,[img1,img3],[input_key,input_address])
61
  rsa_enc_btn.click(crypt.encrypt_text,[rsa_to_enc,pub_key_in,priv_key_in1,out3],[rsa_enc_mes,qr_enc_mes])