Omnibus commited on
Commit
3dd1e60
·
1 Parent(s): bb04772

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -275,7 +275,7 @@ with gr.Blocks() as app:
275
  while i <= len(response):
276
  out.append(response[i]["message"])
277
  i+=1
278
- return (address,message_out,response)
279
 
280
  def test_fn(im):
281
  return (im)
@@ -297,7 +297,7 @@ with gr.Blocks() as app:
297
  send_mes_btn.click(send_message,[sender,rec,send_mes],[block_text,response_json])
298
 
299
 
300
- input_key.change(display_messages,input_key,[sender,block_text,response_json]).then(rec_list_up,in_chain,rec)
301
  pass_btn.click(checkp,pass_box,[invalid,valida])
302
 
303
  gen_wal_btn.click(crypt.generate_keys,None,[out2,out1,img3,out3,img1,img2]).then(create_new_chain,[out3,out2,img1],[response_json,block_text,rec]).then(test_fn,[img1],[input_key])
 
275
  while i <= len(response):
276
  out.append(response[i]["message"])
277
  i+=1
278
+ return (address,message_out,response,out)
279
 
280
  def test_fn(im):
281
  return (im)
 
297
  send_mes_btn.click(send_message,[sender,rec,send_mes],[block_text,response_json])
298
 
299
 
300
+ input_key.change(display_messages,input_key,[sender,block_text,response_json,rec_mes]).then(rec_list_up,in_chain,rec)
301
  pass_btn.click(checkp,pass_box,[invalid,valida])
302
 
303
  gen_wal_btn.click(crypt.generate_keys,None,[out2,out1,img3,out3,img1,img2]).then(create_new_chain,[out3,out2,img1],[response_json,block_text,rec]).then(test_fn,[img1],[input_key])