ssaroya commited on
Commit
abc55db
·
1 Parent(s): 3d6aa6f

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -19,6 +19,7 @@ class EndpointHandler:
19
  self.model = pickle.load(f)
20
 
21
  self.tokenizer = AutoTokenizer.from_pretrained(model_folder_path, use_fast=False)
 
22
 
23
 
24
 
 
19
  self.model = pickle.load(f)
20
 
21
  self.tokenizer = AutoTokenizer.from_pretrained(model_folder_path, use_fast=False)
22
+ self.model.to(DEV)
23
 
24
 
25