amaye15
commited on
Commit
·
0366c0a
1
Parent(s):
7e994bd
Debug - Handler
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -104,7 +104,7 @@ class EndpointHandler:
|
|
104 |
Returns:
|
105 |
Dict[str, Any]: Dictionary containing encoded embeddings or error messages.
|
106 |
"""
|
107 |
-
images_data = data.get("
|
108 |
|
109 |
if not images_data:
|
110 |
return {"error": "No image data provided."}
|
|
|
104 |
Returns:
|
105 |
Dict[str, Any]: Dictionary containing encoded embeddings or error messages.
|
106 |
"""
|
107 |
+
images_data = data.get("inputs", [])
|
108 |
|
109 |
if not images_data:
|
110 |
return {"error": "No image data provided."}
|