Update handler.py
Browse files- 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 |
|