Commit
•
1556b2f
1
Parent(s):
e2023ab
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -34,4 +34,4 @@ class EndpointHandler:
|
|
34 |
documents = [Document.from_dict(document) for document in documents]
|
35 |
return self.document_embedder.run(documents)
|
36 |
|
37 |
-
|
|
|
34 |
documents = [Document.from_dict(document) for document in documents]
|
35 |
return self.document_embedder.run(documents)
|
36 |
|
37 |
+
return {"error": "Wrong inputs"}
|