mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
Merge pull request #2328 from cheahjs/fix/image-gen-after-config-refac
fix: image generation broken by config persistence
This commit is contained in:
commit
a2933bf89d
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ def generate_image(
|
||||||
user=Depends(get_current_user),
|
user=Depends(get_current_user),
|
||||||
):
|
):
|
||||||
|
|
||||||
width, height = tuple(map(int, app.state.config.IMAGE_SIZE).split("x"))
|
width, height = tuple(map(int, app.state.config.IMAGE_SIZE.split("x")))
|
||||||
|
|
||||||
r = None
|
r = None
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue