Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.chdir("/home/user/app/segment-anything-2")
|
3 |
import urllib.request
|
4 |
|
5 |
model_urls = {
|
@@ -64,7 +64,7 @@ from termcolor import colored # for colored text output
|
|
64 |
#%matplotlib inline
|
65 |
#%config InlineBackend.figure_format='retina'
|
66 |
|
67 |
-
os.chdir("segment-anything-2")
|
68 |
|
69 |
from sam2.build_sam import build_sam2
|
70 |
from sam2.sam2_image_predictor import SAM2ImagePredictor
|
|
|
1 |
import os
|
2 |
+
#os.chdir("/home/user/app/segment-anything-2")
|
3 |
import urllib.request
|
4 |
|
5 |
model_urls = {
|
|
|
64 |
#%matplotlib inline
|
65 |
#%config InlineBackend.figure_format='retina'
|
66 |
|
67 |
+
#os.chdir("segment-anything-2")
|
68 |
|
69 |
from sam2.build_sam import build_sam2
|
70 |
from sam2.sam2_image_predictor import SAM2ImagePredictor
|