Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -58,7 +58,7 @@ DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
58 |
# response = postprocess(model_outputs)
|
59 |
# return response
|
60 |
|
61 |
-
class EndpointHandler
|
62 |
def __init__(self):
|
63 |
# Load processor and model
|
64 |
self.PROCESSOR = AutoProcessor.from_pretrained(
|
|
|
58 |
# response = postprocess(model_outputs)
|
59 |
# return response
|
60 |
|
61 |
+
class EndpointHandler:
|
62 |
def __init__(self):
|
63 |
# Load processor and model
|
64 |
self.PROCESSOR = AutoProcessor.from_pretrained(
|