Spaces:
Build error
Build error
Trang Dang
commited on
Commit
•
f2d8c06
1
Parent(s):
c8a3732
fix
Browse files
run.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
|
8 |
def pred(src):
|
9 |
# Load the model configuration
|
10 |
-
os.environ['HUGGINGFACE_HUB_HOME'] = './.cache'
|
11 |
model_config = SamConfig.from_pretrained("facebook/sam-vit-base")
|
12 |
processor = SamProcessor.from_pretrained("facebook/sam-vit-base")
|
13 |
|
|
|
7 |
|
8 |
def pred(src):
|
9 |
# Load the model configuration
|
10 |
+
# os.environ['HUGGINGFACE_HUB_HOME'] = './.cache'
|
11 |
model_config = SamConfig.from_pretrained("facebook/sam-vit-base")
|
12 |
processor = SamProcessor.from_pretrained("facebook/sam-vit-base")
|
13 |
|