ZhengPeng7 commited on
Commit
7e47111
·
verified ·
1 Parent(s): 6f7ea50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -102,6 +102,7 @@ def predict(images, resolution, weights_file):
102
  resolution = [1024, 1024]
103
  print('Invalid resolution input. Automatically changed to 1024x1024.')
104
 
 
105
  if isinstance(images, list):
106
  save_dir = 'preds-BiRefNet'
107
  if not os.path.exists(save_dir):
 
102
  resolution = [1024, 1024]
103
  print('Invalid resolution input. Automatically changed to 1024x1024.')
104
 
105
+ print('type(images):', type(images))
106
  if isinstance(images, list):
107
  save_dir = 'preds-BiRefNet'
108
  if not os.path.exists(save_dir):