mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Improve style
This commit is contained in:
parent
ac3338265d
commit
7e97e9dcc9
1 changed files with 1 additions and 3 deletions
|
|
@ -3,9 +3,7 @@ import base64
|
|||
import io
|
||||
import json
|
||||
import logging
|
||||
import mimetypes
|
||||
import re
|
||||
import uuid
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
|
|
@ -456,7 +454,7 @@ async def image_generations(
|
|||
requests.post,
|
||||
url=f"{request.app.state.config.IMAGES_OPENAI_API_BASE_URL}/images/generations",
|
||||
json=data,
|
||||
headers=headers,
|
||||
headers=headers,
|
||||
)
|
||||
|
||||
r.raise_for_status()
|
||||
|
|
|
|||
Loading…
Reference in a new issue