Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
51a41c8d
"docs/source/vscode:/vscode.git/clone" did not exist on "4deb16e8305cd31fc6baf40acd137dfb66d49839"
Commit
51a41c8d
authored
May 17, 2024
by
Jun Siang Cheah
Browse files
fix: image generation broken by config persistence
parent
6dedf988
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/images/main.py
backend/apps/images/main.py
+1
-1
No files found.
backend/apps/images/main.py
View file @
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment