Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -413,7 +413,7 @@ def main():
|
|
413 |
device_id = opt.gpu_id
|
414 |
device = torch.device('cuda:%d' % device_id if torch.cuda.is_available() else 'cpu')
|
415 |
opt.device = device
|
416 |
-
|
417 |
|
418 |
# load model
|
419 |
model = build_models(opt, edit_config=edit_config)
|
|
|
413 |
device_id = opt.gpu_id
|
414 |
device = torch.device('cuda:%d' % device_id if torch.cuda.is_available() else 'cpu')
|
415 |
opt.device = device
|
416 |
+
print(device)
|
417 |
|
418 |
# load model
|
419 |
model = build_models(opt, edit_config=edit_config)
|