Spaces:
Runtime error
Runtime error
update
Browse files- sam2edit.py +0 -1
sam2edit.py
CHANGED
@@ -51,7 +51,6 @@ def create_demo():
|
|
51 |
|
52 |
# Segment-Anything init.
|
53 |
# pip install git+https://github.com/facebookresearch/segment-anything.git
|
54 |
-
from segment_anything import sam_model_registry, SamAutomaticMaskGenerator
|
55 |
|
56 |
try:
|
57 |
from segment_anything import sam_model_registry, SamAutomaticMaskGenerator
|
|
|
51 |
|
52 |
# Segment-Anything init.
|
53 |
# pip install git+https://github.com/facebookresearch/segment-anything.git
|
|
|
54 |
|
55 |
try:
|
56 |
from segment_anything import sam_model_registry, SamAutomaticMaskGenerator
|