We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9077342 commit 3180612Copy full SHA for 3180612
deepstack/core.py
@@ -232,5 +232,5 @@ def recognise(self, image_bytes: bytes):
232
233
self._response = response.json()
234
if not self._response["success"]:
235
- error = response.json()["error"]
+ error = self._response["error"]
236
raise DeepstackException(f"Error from Deepstack: {error}")
0 commit comments