Omnibus commited on
Commit
eb0d0d7
1 Parent(s): 2bb7eb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -248,7 +248,8 @@ with gr.Blocks() as app:
248
 
249
  app.load(None,None,link_list,js=load_js)
250
  app.load(None,None,link_list,js=link_js)
251
- prepare_btn.click(None,None,[link_list],js=link_js).then(prepare_card,link_list,img_card)
 
252
  #images.change(update_im,None,link_list,trigger_mode="multiple",js=link_js)
253
  search_btn.click(search_fn,[search_box,num_return],output)
254
  btn.click(first,None,output).then(test_single,input,output).then(details_fn,input,[details,images,title,description])
 
248
 
249
  app.load(None,None,link_list,js=load_js)
250
  app.load(None,None,link_list,js=link_js)
251
+ prepare_btn.click(None,None,[link_list],js=link_js)
252
+ link_list.change(prepare_card,link_list,img_card)
253
  #images.change(update_im,None,link_list,trigger_mode="multiple",js=link_js)
254
  search_btn.click(search_fn,[search_box,num_return],output)
255
  btn.click(first,None,output).then(test_single,input,output).then(details_fn,input,[details,images,title,description])