gangweix commited on
Commit
83538b8
·
verified ·
1 Parent(s): 9e3b2a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,8 +51,8 @@ css = """
51
 
52
  set_seed(666)
53
 
54
- # DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
55
- DEVICE = torch.device("cuda")
56
 
57
  default_steps = 20
58
  model = PixelPerfectDepth(sampling_steps=default_steps)
 
51
 
52
  set_seed(666)
53
 
54
+ DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
55
+ # DEVICE = torch.device("cuda")
56
 
57
  default_steps = 20
58
  model = PixelPerfectDepth(sampling_steps=default_steps)