Omnibus commited on
Commit
db9bf66
·
1 Parent(s): f7679a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -137,6 +137,7 @@ def test_fn(im1,im2):
137
  return im1,im2
138
  def test_fn2(im1):
139
  return im1
 
140
  with gr.Blocks() as app:
141
 
142
  with gr.Row():
@@ -170,4 +171,5 @@ with gr.Blocks() as app:
170
  gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,img1,img2]).then(test_fn,[img1,img2],[priv_key_in,pub_key_in])
171
  rsa_enc_btn.click(encrypt_text,[rsa_to_enc,pub_key_in,out3],[rsa_enc_mes,qr_enc_mes]).then(test_fn2,qr_enc_mes,mes_in)
172
  rsa_dec_btn.click(decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
173
- app.launch()
 
 
137
  return im1,im2
138
  def test_fn2(im1):
139
  return im1
140
+ '''
141
  with gr.Blocks() as app:
142
 
143
  with gr.Row():
 
171
  gen_wal_btn.click(generate_keys,None,[out2,out1, img3,out3,img1,img2]).then(test_fn,[img1,img2],[priv_key_in,pub_key_in])
172
  rsa_enc_btn.click(encrypt_text,[rsa_to_enc,pub_key_in,out3],[rsa_enc_mes,qr_enc_mes]).then(test_fn2,qr_enc_mes,mes_in)
173
  rsa_dec_btn.click(decrypt_text,[mes_in,priv_key_in],rsa_dec_mes)
174
+ app.launch()
175
+ '''