quick fix for the removal of modelloader
This commit is contained in:
@@ -511,4 +511,7 @@ Anna from Frozen;female
|
||||
-charactertype- character;both
|
||||
Lagertha from Vikings;female
|
||||
Ragnar from Vikings;male
|
||||
Rollo from Vikings;male
|
||||
Rollo from Vikings;male
|
||||
Goldilocks;female
|
||||
Glinda;female
|
||||
Robin Hood;male
|
||||
|
+4
-1
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user