Sangjun2 commited on
Commit
268fbd4
·
verified ·
1 Parent(s): 9ba3ce9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -654,11 +654,12 @@ def load_image_checklist(file):
654
  current_index = 0
655
  image_names = []
656
 
657
- def unzip_images(zip_file_path, extract_to='images'):
658
  if not os.path.exists(extract_to):
659
  os.makedirs(extract_to)
660
- with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
661
- zip_ref.extractall(extract_to)
 
662
 
663
 
664
  def show_image(current_idx):
 
654
  current_index = 0
655
  image_names = []
656
 
657
+ def unzip_images(zip_file_path, extract_to):
658
  if not os.path.exists(extract_to):
659
  os.makedirs(extract_to)
660
+ with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
661
+ zip_ref.extractall(extract_to)
662
+ print("unzip successful")
663
 
664
 
665
  def show_image(current_idx):