Spaces:
Sleeping
Sleeping
Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -7,6 +7,7 @@ import base64
|
|
7 |
|
8 |
class EndpointHandler():
|
9 |
def __init__(self, path=""):
|
|
|
10 |
# Preload all the elements you we need at inference.
|
11 |
self.model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
|
12 |
self.processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
|
|
|
7 |
|
8 |
class EndpointHandler():
|
9 |
def __init__(self, path=""):
|
10 |
+
print ("RUN - handler.py ")
|
11 |
# Preload all the elements you we need at inference.
|
12 |
self.model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
|
13 |
self.processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
|