ChirathD commited on
Commit
d703739
1 Parent(s): 9e4dfd9

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -20,7 +20,7 @@ class EndpointHandler():
20
  print("####### Start Deploying #####")
21
  self.processor = Blip2Processor.from_pretrained("ChirathD/Blip-2-test-1")
22
  self.model = Blip2ForConditionalGeneration.from_pretrained("ChirathD/Blip-2-test-1")
23
- self.model.eval()
24
  # self.model = self.model.to(device)
25
 
26
 
 
20
  print("####### Start Deploying #####")
21
  self.processor = Blip2Processor.from_pretrained("ChirathD/Blip-2-test-1")
22
  self.model = Blip2ForConditionalGeneration.from_pretrained("ChirathD/Blip-2-test-1")
23
+ # self.model.eval()
24
  # self.model = self.model.to(device)
25
 
26