From 2a09da8ff1796ee6e6f4b03bb9f9078c08b1837a Mon Sep 17 00:00:00 2001 From: AIrjen Date: Wed, 3 Jan 2024 21:37:39 +0100 Subject: [PATCH] quick fix for the removal of modelloader --- csvfiles/fictional characters.csv | 5 ++++- model_lists.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/csvfiles/fictional characters.csv b/csvfiles/fictional characters.csv index b4df837..33228c8 100644 --- a/csvfiles/fictional characters.csv +++ b/csvfiles/fictional characters.csv @@ -511,4 +511,7 @@ Anna from Frozen;female -charactertype- character;both Lagertha from Vikings;female Ragnar from Vikings;male -Rollo from Vikings;male \ No newline at end of file +Rollo from Vikings;male +Goldilocks;female +Glinda;female +Robin Hood;male \ No newline at end of file diff --git a/model_lists.py b/model_lists.py index a640c85..be87ece 100644 --- a/model_lists.py +++ b/model_lists.py @@ -86,7 +86,10 @@ def get_samplers_for_img2img(): return samplerlist def upscalers_on_startup(): - modelloader.cleanup_models() + try: + modelloader.cleanup_models() + except: + pass modelloader.load_upscalers() upscalerlistfromwWebUI = [x.name for x in shared.sd_upscalers]