jerpint commited on
Commit
430d84a
·
1 Parent(s): 4875ab4

default to cuda for zero space

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ from game_of_life import GameOfLife
10
  from utils import resize_image, generate_image_from_grid
11
 
12
 
13
- device = "cuda" if torch.cuda.is_available() else "cpu"
 
14
  controlnet = QRControlNet(device=device)
15
 
16
 
 
10
  from utils import resize_image, generate_image_from_grid
11
 
12
 
13
+ device = "cuda" # if torch.cuda.is_available() else "cpu"
14
+ print(f"Using {device=})
15
  controlnet = QRControlNet(device=device)
16
 
17