luisresende13
commited on
Commit
•
c5878df
1
Parent(s):
3a5d5bb
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -5,7 +5,7 @@ import requests
|
|
5 |
|
6 |
class EndpointHandler():
|
7 |
def __init__(self, path=""):
|
8 |
-
model_id = "
|
9 |
self.pipe = pipeline("image-to-text", model=model_id)
|
10 |
|
11 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
|
5 |
|
6 |
class EndpointHandler():
|
7 |
def __init__(self, path=""):
|
8 |
+
model_id = "."
|
9 |
self.pipe = pipeline("image-to-text", model=model_id)
|
10 |
|
11 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|