mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
style: fix formatting issues
This commit is contained in:
@@ -549,10 +549,12 @@ async def image_generations(
|
|||||||
else {"response_format": "b64_json"}
|
else {"response_format": "b64_json"}
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
api_version_query_param = ""
|
api_version_query_param = ""
|
||||||
if (request.app.state.config.IMAGES_OPENAI_API_VERSION):
|
if request.app.state.config.IMAGES_OPENAI_API_VERSION:
|
||||||
api_version_query_param = f"?api-version={request.app.state.config.IMAGES_OPENAI_API_VERSION}"
|
api_version_query_param = (
|
||||||
|
f"?api-version={request.app.state.config.IMAGES_OPENAI_API_VERSION}"
|
||||||
|
)
|
||||||
|
|
||||||
# Use asyncio.to_thread for the requests.post call
|
# Use asyncio.to_thread for the requests.post call
|
||||||
r = await asyncio.to_thread(
|
r = await asyncio.to_thread(
|
||||||
|
|||||||
@@ -624,7 +624,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class=" mb-2 text-sm font-medium">{$i18n.t('API Version')}</div>
|
<div class=" mb-2 text-sm font-medium">{$i18n.t('API Version')}</div>
|
||||||
<div class="flex w-full">
|
<div class="flex w-full">
|
||||||
|
|||||||
Reference in New Issue
Block a user