rroset commited on
Commit
f3e44e7
1 Parent(s): 266aad6

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -6,7 +6,7 @@ import base64
6
  from typing import Dict, List, Any
7
 
8
  class EndpointHandler():
9
- def __init__(self, path=""):
10
  # Carrega el model i el processor específics de CLIP
11
  self.model = CLIPModel.from_pretrained(path)
12
  self.processor = CLIPProcessor.from_pretrained(path)
 
6
  from typing import Dict, List, Any
7
 
8
  class EndpointHandler():
9
+ def __init__(self, path="."):
10
  # Carrega el model i el processor específics de CLIP
11
  self.model = CLIPModel.from_pretrained(path)
12
  self.processor = CLIPProcessor.from_pretrained(path)