make sure image response is array
This commit is contained in:
parent
d87861cb29
commit
492bc1e992
|
@ -139,7 +139,7 @@ def image_reply(
|
|||
|
||||
data["metadata"] = metadata
|
||||
|
||||
return jsonify(data)
|
||||
return jsonify([data])
|
||||
|
||||
|
||||
def multi_image_reply(results: Dict[str, Any]):
|
||||
|
|
Loading…
Reference in New Issue