Amitai Getzler
commited on
Commit
•
736c00c
1
Parent(s):
4e6f8d5
:heavy_plus_sign: Add
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -8,7 +8,7 @@ from PIL import Image
|
|
8 |
from typing import Dict, Any
|
9 |
|
10 |
class EndpointHandler:
|
11 |
-
def __init__(self, path=""):
|
12 |
self.model, self.preprocess_train, self.preprocess_val = (
|
13 |
open_clip.create_model_and_transforms(path)
|
14 |
)
|
|
|
8 |
from typing import Dict, Any
|
9 |
|
10 |
class EndpointHandler:
|
11 |
+
def __init__(self, path="hf-hub:Styld/marqo-fashionSigLIP"):
|
12 |
self.model, self.preprocess_train, self.preprocess_val = (
|
13 |
open_clip.create_model_and_transforms(path)
|
14 |
)
|