Spaces:
Runtime error
Runtime error
wybertwang
commited on
Commit
•
9dcd4d8
1
Parent(s):
48feec8
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ import easyocr
|
|
22 |
args = parse_augment()
|
23 |
args.segmenter = "huge"
|
24 |
args.segmenter_checkpoint = "sam_vit_h_4b8939.pth"
|
25 |
-
|
26 |
if args.segmenter_checkpoint is None:
|
27 |
_, segmenter_checkpoint = prepare_segmenter(args.segmenter)
|
28 |
else:
|
|
|
22 |
args = parse_augment()
|
23 |
args.segmenter = "huge"
|
24 |
args.segmenter_checkpoint = "sam_vit_h_4b8939.pth"
|
25 |
+
args.clip_filter = True
|
26 |
if args.segmenter_checkpoint is None:
|
27 |
_, segmenter_checkpoint = prepare_segmenter(args.segmenter)
|
28 |
else:
|