Spaces:
Running
on
T4
Running
on
T4
liuyizhang
commited on
Commit
•
efc7a78
1
Parent(s):
35bdba8
update app.py
Browse files
app.py
CHANGED
@@ -300,7 +300,7 @@ def load_groundingdino_model(device):
|
|
300 |
def get_sam_vit_h_4b8939():
|
301 |
if not os.path.exists('./sam_vit_h_4b8939.pth'):
|
302 |
logger.info(f"get sam_vit_h_4b8939.pth...")
|
303 |
-
result = subprocess.run(['wget', 'https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth'], check=True)
|
304 |
print(f'wget sam_vit_h_4b8939.pth result = {result}')
|
305 |
|
306 |
def load_sam_model(device):
|
|
|
300 |
def get_sam_vit_h_4b8939():
|
301 |
if not os.path.exists('./sam_vit_h_4b8939.pth'):
|
302 |
logger.info(f"get sam_vit_h_4b8939.pth...")
|
303 |
+
result = subprocess.run(['wget', '-nv', 'https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth'], check=True)
|
304 |
print(f'wget sam_vit_h_4b8939.pth result = {result}')
|
305 |
|
306 |
def load_sam_model(device):
|