Skip to content

Commit

Permalink
fix: move import to resolve colab issue (#3506)
Browse files Browse the repository at this point in the history
  • Loading branch information
mashb1t authored Aug 12, 2024
1 parent 0a87da7 commit 251a130
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from build_launcher import build_launcher
from modules.launch_util import is_installed, run, python, run_pip, requirements_met, delete_folder_content
from modules.model_loader import load_file_from_url
from modules.util import get_file_from_folder_list

REINSTALL_ALL = False
TRY_INSTALL_XFORMERS = False
Expand Down Expand Up @@ -102,6 +101,8 @@ def ini_args():


def download_models(default_model, previous_default_models, checkpoint_downloads, embeddings_downloads, lora_downloads, vae_downloads):
from modules.util import get_file_from_folder_list

for file_name, url in vae_approx_filenames:
load_file_from_url(url=url, model_dir=config.path_vae_approx, file_name=file_name)

Expand Down

0 comments on commit 251a130

Please sign in to comment.