"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "ccff221921df471dba61555671362fdbf187d809"
Unverified Commit a2933bf8 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #2328 from cheahjs/fix/image-gen-after-config-refac

fix: image generation broken by config persistence
parents 302a17b3 51a41c8d
...@@ -397,7 +397,7 @@ def generate_image( ...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment