This commit is contained in:
Timothy Jaeryang Baek committed 2026-04-12 14:39:23 -05:00
1 parent f6b85700ea
commit de27a12151
4 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -832,7 +832,7 @@ async def image_edits(
except Exception as e:
raise HTTPException(status_code=400, detail=ERROR_MESSAGES.DEFAULT(e))
async def get_image_file_item(base64_string, param_name='image'):
def get_image_file_item(base64_string, param_name='image'):
data = base64_string
header, encoded = data.split(',', 1)
mime_type = header.split(';')[0].lstrip('data:')