Skip to content

Commit

Permalink
Fix Controlnet issue #240
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshs committed Aug 22, 2024
1 parent 9131f91 commit 51ffaae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_controlnet_adapters(lcm_diffusion_setting) -> dict:
logging.info("Loading ControlNet adapter")
controlnet_adapter = ControlNetModel.from_single_file(
lcm_diffusion_setting.controlnet.adapter_path,
local_files_only=True,
# local_files_only=True,
use_safetensors=True,
)
controlnet_args["controlnet"] = controlnet_adapter
Expand Down
2 changes: 1 addition & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from os import environ

APP_VERSION = "v1.0.0 beta 36"
APP_VERSION = "v1.0.0 beta 37"
LCM_DEFAULT_MODEL = "stabilityai/sd-turbo"
LCM_DEFAULT_MODEL_OPENVINO = "rupeshs/sd-turbo-openvino"
APP_NAME = "FastSD CPU"
Expand Down

0 comments on commit 51ffaae

Please sign in to comment.