sergeipetrov commited on
Commit
6b7e6e6
1 Parent(s): 36cfeae

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -26,7 +26,7 @@ class InferenceConfig(BaseModel):
26
 
27
 
28
  class EndpointHandler():
29
- def __init__(self):
30
 
31
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
32
  logger.info(f"Using device: {device.type}")
 
26
 
27
 
28
  class EndpointHandler():
29
+ def __init__(self):
30
 
31
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
32
  logger.info(f"Using device: {device.type}")