Spaces:
Runtime error
Runtime error
virender74
commited on
Commit
·
723f521
1
Parent(s):
877e362
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
8 |
|
9 |
os.system("wget https://www.dropbox.com/s/grcragozd4x79zc/model_best.pth?dl=0")
|
10 |
|
11 |
-
model = torch.load("./model_best.pth?dl=0", map_location=device)
|
12 |
|
13 |
# img = Image.open(path).convert('RGB')
|
14 |
from torchvision import transforms
|
|
|
8 |
|
9 |
os.system("wget https://www.dropbox.com/s/grcragozd4x79zc/model_best.pth?dl=0")
|
10 |
|
11 |
+
model = torch.load("./Desktop/model_best.pth?dl=0", map_location=device)
|
12 |
|
13 |
# img = Image.open(path).convert('RGB')
|
14 |
from torchvision import transforms
|