Skip to content

Commit

Permalink
update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed Apr 16, 2023
1 parent 53065d1 commit bddb41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bddb41f

Please sign in to comment.