mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
Looks like the convention update per commit 0981fae161
missed `config.py`.
This commit is contained in:
parent
916ce9bc4f
commit
067c94810a
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user