sarang-shrivastava
commited on
Commit
•
b233fe4
1
Parent(s):
6f1c35a
Update handler
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -24,7 +24,7 @@ class EndpointHandler():
|
|
24 |
|
25 |
self.device = "cuda" if torch.cuda.is_available() else "cpu"
|
26 |
|
27 |
-
self.model.to(self.device)
|
28 |
|
29 |
logging.info('Model moved to device-' + self.device)
|
30 |
|
|
|
24 |
|
25 |
self.device = "cuda" if torch.cuda.is_available() else "cpu"
|
26 |
|
27 |
+
# self.model.to(self.device)
|
28 |
|
29 |
logging.info('Model moved to device-' + self.device)
|
30 |
|