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
067c9481
Commit
067c9481
authored
Apr 13, 2024
by
Self Denial
Browse files
Fix open-webui/open-webui#1500
Looks like the convention update per commit
0981fae1
missed `config.py`.
parent
916ce9bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/apps/images/main.py
backend/apps/images/main.py
+2
-2
No files found.
backend/apps/images/main.py
View file @
067c9481
...
...
@@ -32,7 +32,7 @@ import logging
from
config
import
(
SRC_LOG_LEVELS
,
CACHE_DIR
,
IMAGE_GENERATION
_ENABLED
,
ENABLE_
IMAGE_GENERATION
,
AUTOMATIC1111_BASE_URL
,
COMFYUI_BASE_URL
,
)
...
...
@@ -54,7 +54,7 @@ app.add_middleware(
)
app
.
state
.
ENGINE
=
""
app
.
state
.
ENABLED
=
IMAGE_GENERATION
_ENABLED
app
.
state
.
ENABLED
=
ENABLE_
IMAGE_GENERATION
app
.
state
.
OPENAI_API_KEY
=
""
app
.
state
.
MODEL
=
""
...
...
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