geekyrakshit commited on
Commit
9712b0e
1 Parent(s): 9a18c82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ import wandb
9
  from wandb.integration.diffusers import autolog
10
 
11
 
 
12
  device = "cuda" if torch.cuda.is_available() else "cpu"
13
 
14
  if torch.cuda.is_available():
 
9
  from wandb.integration.diffusers import autolog
10
 
11
 
12
+ # check the device
13
  device = "cuda" if torch.cuda.is_available() else "cpu"
14
 
15
  if torch.cuda.is_available():