Omnibus commited on
Commit
5d527f9
·
1 Parent(s): 314c25a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,5 +130,5 @@ with gr.Blocks() as app:
130
 
131
  gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,img1,img2])
132
  rsa_enc_btn.click(encrypt_text,[rsa_to_enc,out2,out3],[rsa_enc_mes,qr_enc_mes])
133
- rsa_dec_btn.click(decrypt_text,[qr_enc_mes,img1],rsa_dec_mes)
134
  app.launch()
 
130
 
131
  gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,img1,img2])
132
  rsa_enc_btn.click(encrypt_text,[rsa_to_enc,out2,out3],[rsa_enc_mes,qr_enc_mes])
133
+ rsa_dec_btn.click(decrypt_text,[qr_enc_mes,priv_key_in],rsa_dec_mes)
134
  app.launch()