localhost-llm commited on
Commit
6095a7f
·
verified ·
1 Parent(s): cbbec9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ async def v1_images_generations(request: Request, authorization: str = Header(No
190
  # These are there only to satisfy OpenAI-compatible clients
191
  _model = payload.get("model", "dall-e-3") # ignored
192
  n = int(payload.get("n", 1))
193
- response_format = payload.get("response_format", "url") # "url" | "b64_json"
194
  size = payload.get("size", "1024x1024")
195
  quality = payload.get("quality")
196
  style = payload.get("style")
 
190
  # These are there only to satisfy OpenAI-compatible clients
191
  _model = payload.get("model", "dall-e-3") # ignored
192
  n = int(payload.get("n", 1))
193
+ response_format = payload.get("response_format", "b64_json") # "url" | "b64_json"
194
  size = payload.get("size", "1024x1024")
195
  quality = payload.get("quality")
196
  style = payload.get("style")