marutitecblic commited on
Commit
f96c4c7
·
verified ·
1 Parent(s): dab5fa7

Update handler.py

Browse files
Files changed (1) hide show
  1. 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(