From bddb41fcc980c20f2544c8cebcadc29a40e462f4 Mon Sep 17 00:00:00 2001 From: xieyongliang Date: Sun, 16 Apr 2023 22:04:20 +0800 Subject: [PATCH] update api.py --- modules/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/api/api.py b/modules/api/api.py index 2aa1f20cbb9..fdbf62f928c 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -415,7 +415,7 @@ def post_invocations(self, username, b64images): self.s3_client.put_object( Body=output.getvalue(), Bucket=bucket, - Key=f'{key}/{image_id}.jpg' + Key=f'{key}{image_id}.jpg' ) def invocations(self, req: InvocationsRequest):