gowtham58 commited on
Commit
62f156c
·
verified ·
1 Parent(s): 7dbee0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ bgrm = BriaRMBG.from_pretrained("briaai/RMBG-1.4")
17
 
18
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
19
  bgrm.to(device)
 
20
 
21
 
22
  def resize_image(image):
 
17
 
18
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
19
  bgrm.to(device)
20
+ print("device:", device)
21
 
22
 
23
  def resize_image(image):