mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Merge pull request #13583 from torisetxd/torisetxd-image-patch
Fix: Fix Image parameter for Automatic1111 `/generations` endpoint
This commit is contained in:
commit
e0e151f4f4
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ async def image_generations(
|
||||||
or request.app.state.config.IMAGE_GENERATION_ENGINE == ""
|
or request.app.state.config.IMAGE_GENERATION_ENGINE == ""
|
||||||
):
|
):
|
||||||
if form_data.model:
|
if form_data.model:
|
||||||
set_image_model(form_data.model)
|
set_image_model(request, form_data.model)
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
"prompt": form_data.prompt,
|
"prompt": form_data.prompt,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue