forked from open-webui/open-webui
Merge pull request #1543 from lainedfles/fix-pr-1500
This commit is contained in:
commit
0d3ce18a61
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ import logging
|
||||||
from config import (
|
from config import (
|
||||||
SRC_LOG_LEVELS,
|
SRC_LOG_LEVELS,
|
||||||
CACHE_DIR,
|
CACHE_DIR,
|
||||||
IMAGE_GENERATION_ENABLED,
|
ENABLE_IMAGE_GENERATION,
|
||||||
AUTOMATIC1111_BASE_URL,
|
AUTOMATIC1111_BASE_URL,
|
||||||
COMFYUI_BASE_URL,
|
COMFYUI_BASE_URL,
|
||||||
)
|
)
|
||||||
|
@ -54,7 +54,7 @@ app.add_middleware(
|
||||||
)
|
)
|
||||||
|
|
||||||
app.state.ENGINE = ""
|
app.state.ENGINE = ""
|
||||||
app.state.ENABLED = IMAGE_GENERATION_ENABLED
|
app.state.ENABLED = ENABLE_IMAGE_GENERATION
|
||||||
|
|
||||||
app.state.OPENAI_API_KEY = ""
|
app.state.OPENAI_API_KEY = ""
|
||||||
app.state.MODEL = ""
|
app.state.MODEL = ""
|
||||||
|
|
Loading…
Reference in a new issue