justinj92 commited on
Commit
4e309e2
·
verified ·
1 Parent(s): 47ceafa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -105,12 +105,12 @@ terminators = [
105
  ]
106
 
107
 
108
- if torch.cuda.is_available():
109
- device = torch.device("cuda")
110
- print(f"Using GPU: {torch.cuda.get_device_name(device)}")
111
- else:
112
- device = torch.device("cpu")
113
- print("Using CPU")
114
 
115
  model = model.to(device)
116
 
 
105
  ]
106
 
107
 
108
+ # if torch.cuda.is_available():
109
+ # device = torch.device("cuda")
110
+ # print(f"Using GPU: {torch.cuda.get_device_name(device)}")
111
+ # else:
112
+ # device = torch.device("cpu")
113
+ # print("Using CPU")
114
 
115
  model = model.to(device)
116