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