Skip to content

Commit

Permalink
remove local_files_only from from_single_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanster committed Feb 6, 2024
1 parent 7f5333a commit 97d51d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions iopaint/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def get_sd_model_type(model_abs_path: str) -> ModelType:
StableDiffusionInpaintPipeline.from_single_file(
model_abs_path,
load_safety_checker=False,
local_files_only=True,
num_in_channels=9,
config_files=get_config_files(),
)
Expand All @@ -84,7 +83,6 @@ def get_sdxl_model_type(model_abs_path: str) -> ModelType:
model = StableDiffusionXLInpaintPipeline.from_single_file(
model_abs_path,
load_safety_checker=False,
local_files_only=True,
num_in_channels=9,
config_files=get_config_files(),
)
Expand Down

0 comments on commit 97d51d3

Please sign in to comment.