Spaces:
Running
on
Zero
Running
on
Zero
Fix: Wrong temporary file path while generating output for automatic mask generator
Browse files
src/SegmentAnything2Assist.py
CHANGED
@@ -192,7 +192,7 @@ class SegmentAnything2Assist:
|
|
192 |
image,
|
193 |
auto_list
|
194 |
):
|
195 |
-
if not os.path.exists("auto_masks.pkl"):
|
196 |
return
|
197 |
|
198 |
masks = pickle.load(open(".tmp/auto_masks.pkl", "rb"))
|
|
|
192 |
image,
|
193 |
auto_list
|
194 |
):
|
195 |
+
if not os.path.exists(".tmp/auto_masks.pkl"):
|
196 |
return
|
197 |
|
198 |
masks = pickle.load(open(".tmp/auto_masks.pkl", "rb"))
|