Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import matplotlib.pyplot as plt
|
|
10 |
DEVICE = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
11 |
print(f'Running on device: {DEVICE.upper()}')
|
12 |
|
13 |
-
torch.load('
|
14 |
|
15 |
mtcnn = MTCNN(
|
16 |
select_largest=False,
|
|
|
10 |
DEVICE = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
11 |
print(f'Running on device: {DEVICE.upper()}')
|
12 |
|
13 |
+
torch.load('resnetinceptionv1_final.pth',map_location='cpu')
|
14 |
|
15 |
mtcnn = MTCNN(
|
16 |
select_largest=False,
|