Skip to content

Commit

Permalink
fix: respect nsfw flag for lora default download
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Dec 19, 2023
1 parent 883abac commit 8dc2917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def download_all_models(purge_unused_loras: bool = False) -> None:
if SharedModelManager.manager.lora is None:
logger.error("Failed to load LORA model manager")
exit(1)
SharedModelManager.manager.lora.download_default_loras()
SharedModelManager.manager.lora.download_default_loras(bridge_data.nsfw)

while SharedModelManager.manager.lora.are_downloads_complete() is False:
logger.info("Waiting for LORA downloads to complete...")
Expand Down

0 comments on commit 8dc2917

Please sign in to comment.