Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,8 @@ chair="./GEN_chair.pt"
|
|
| 20 |
|
| 21 |
device='cuda' if torch.cuda.is_available() else 'cpu'
|
| 22 |
|
| 23 |
-
|
|
|
|
| 24 |
ckpt_chair = torch.load(chair,map_location=torch.device(device))
|
| 25 |
|
| 26 |
def seed_all(seed):
|
|
|
|
| 20 |
|
| 21 |
device='cuda' if torch.cuda.is_available() else 'cpu'
|
| 22 |
|
| 23 |
+
|
| 24 |
+
ckpt_airplane = torch.load(airplane, map_location=torch.device(device), weights_only=False)
|
| 25 |
ckpt_chair = torch.load(chair,map_location=torch.device(device))
|
| 26 |
|
| 27 |
def seed_all(seed):
|