"src/vscode:/vscode.git/clone" did not exist on "48e8b45dc935a48b1d668e49b8355636bfff627c"
Commit 067c9481 authored by Self Denial's avatar Self Denial
Browse files

Fix open-webui/open-webui#1500

Looks like the convention update per commit 0981fae1 missed `config.py`.
parent 916ce9bc
...@@ -32,7 +32,7 @@ import logging ...@@ -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( ...@@ -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 = ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment