Omnibus commited on
Commit
e6357b8
1 Parent(s): 91f597b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as app:
134
  rsa_dec_mes = gr.Textbox(label="decoded")
135
  gr.Column()
136
 
137
- gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,priv_key_in,img2])
138
- rsa_enc_btn.click(encrypt_text,[rsa_to_enc,out2,out3],[rsa_enc_mes,mes_in])
139
  rsa_dec_btn.click(decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
140
  app.launch()
 
134
  rsa_dec_mes = gr.Textbox(label="decoded")
135
  gr.Column()
136
 
137
+ gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,img1,img2])
138
+ rsa_enc_btn.click(encrypt_text,[rsa_to_enc,out2,out3],[rsa_enc_mes,qr_enc_mes])
139
  rsa_dec_btn.click(decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
140
  app.launch()