Omnibus commited on
Commit
1e43ee3
·
1 Parent(s): efdf194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -226,7 +226,7 @@ with gr.Blocks() as app:
226
  text_output = gr.Text(label="Output",visible=False)
227
  with gr.Tab("Gen Wal"):
228
  gen_wal_btn=gr.Button()
229
-
230
  with gr.Row():
231
  with gr.Column():
232
  img1=gr.Pil()
@@ -241,7 +241,7 @@ with gr.Blocks() as app:
241
  out3 = gr.Textbox(label='Address')
242
  out33 = gr.Textbox(label='count')
243
  gr.Column()
244
- gen_wal_btn.click(eth_create,None,[out1,out2,out3,img1,img2,img3,out11,out22,out33])
245
  dec_qr_btn.click(decode_qr,[dec_qr_im,pass_out],[dec_qr_im_out,dec_qr_txt,d_json])
246
  en_btn.click(encrypt,[pass_in,send,rec,am],[enc_out,enc_qr_out,dec_qr_im])
247
  url_btn.click(fn=predict, inputs=[text_input,url_params],outputs=[text_output,url_params], _js=get_window_url_params)
 
226
  text_output = gr.Text(label="Output",visible=False)
227
  with gr.Tab("Gen Wal"):
228
  gen_wal_btn=gr.Button()
229
+ seed = gr.Textbox(label='Seed Phrase')
230
  with gr.Row():
231
  with gr.Column():
232
  img1=gr.Pil()
 
241
  out3 = gr.Textbox(label='Address')
242
  out33 = gr.Textbox(label='count')
243
  gr.Column()
244
+ gen_wal_btn.click(eth_create,seed,[out1,out2,out3,img1,img2,img3,out11,out22,out33,seed])
245
  dec_qr_btn.click(decode_qr,[dec_qr_im,pass_out],[dec_qr_im_out,dec_qr_txt,d_json])
246
  en_btn.click(encrypt,[pass_in,send,rec,am],[enc_out,enc_qr_out,dec_qr_im])
247
  url_btn.click(fn=predict, inputs=[text_input,url_params],outputs=[text_output,url_params], _js=get_window_url_params)