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
0981fae1
Commit
0981fae1
authored
Apr 13, 2024
by
Timothy J. Baek
Browse files
refac: convention
parent
ff013988
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/config.py
backend/config.py
+2
-2
No files found.
backend/config.py
View file @
0981fae1
...
...
@@ -452,8 +452,8 @@ WHISPER_MODEL_DIR = os.getenv("WHISPER_MODEL_DIR", f"{CACHE_DIR}/whisper/models"
# Images
####################################
IMAGE_GENERATION
_ENABLED
=
(
os
.
environ
.
get
(
"IMAGE_GENERATION
_ENABLED
"
,
""
).
lower
()
==
"true"
ENABLE_
IMAGE_GENERATION
=
(
os
.
environ
.
get
(
"
ENABLE_
IMAGE_GENERATION"
,
""
).
lower
()
==
"true"
)
AUTOMATIC1111_BASE_URL
=
os
.
getenv
(
"AUTOMATIC1111_BASE_URL"
,
""
)
COMFYUI_BASE_URL
=
os
.
getenv
(
"COMFYUI_BASE_URL"
,
""
)
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