Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|