AYYasaswini commited on
Commit
6ca72ff
·
verified ·
1 Parent(s): 9789994

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ torch.manual_seed(1)
51
 
52
  # Supress some unnecessary warnings when loading the CLIPTextModel
53
  logging.set_verbosity_error()
54
-
55
  # Set device
56
  #if "mps" == torch_device: os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = "1"
57
 
 
51
 
52
  # Supress some unnecessary warnings when loading the CLIPTextModel
53
  logging.set_verbosity_error()
54
+ torch_device = "cpu"
55
  # Set device
56
  #if "mps" == torch_device: os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = "1"
57