multimodalart HF staff commited on
Commit
49a200f
1 Parent(s): 4a499a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -285,7 +285,7 @@ with gr.Blocks(css=css) as demo:
285
  counter_delete = 1
286
  for delete_button in delete_collection:
287
  if(counter_delete < len(delete_collection)+1):
288
- delete_button.click(lambda:[gr.update(visible=False),gr.update(visible=False), gr.update(visible=True), False], None, [file_collection[counter_delete], row[counter_delete], buttons_collection[counter_delete-1], is_visible[counter_delete]]), queue=False
289
  counter_delete += 1
290
 
291
 
 
285
  counter_delete = 1
286
  for delete_button in delete_collection:
287
  if(counter_delete < len(delete_collection)+1):
288
+ delete_button.click(lambda:[gr.update(visible=False),gr.update(visible=False), gr.update(visible=True), False], None, [file_collection[counter_delete], row[counter_delete], buttons_collection[counter_delete-1], is_visible[counter_delete]], queue=False)
289
  counter_delete += 1
290
 
291