dominic1021
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def predict(images, resolution, weights_file):
|
|
162 |
return (image_masked, image_ori)
|
163 |
|
164 |
|
165 |
-
examples = [[_] for _ in glob('examples/*')][:]
|
166 |
# Add the option of resolution in a text box.
|
167 |
for idx_example, example in enumerate(examples):
|
168 |
examples[idx_example].append('1024x1024')
|
|
|
162 |
return (image_masked, image_ori)
|
163 |
|
164 |
|
165 |
+
examples = [[_] for _ in glob('/content/birefnet_background_remover/examples/*')][:]
|
166 |
# Add the option of resolution in a text box.
|
167 |
for idx_example, example in enumerate(examples):
|
168 |
examples[idx_example].append('1024x1024')
|