quick fix for the removal of modelloader
parent
356a1b537a
commit
2a09da8ff1
|
|
@ -511,4 +511,7 @@ Anna from Frozen;female
|
||||||
-charactertype- character;both
|
-charactertype- character;both
|
||||||
Lagertha from Vikings;female
|
Lagertha from Vikings;female
|
||||||
Ragnar from Vikings;male
|
Ragnar from Vikings;male
|
||||||
Rollo from Vikings;male
|
Rollo from Vikings;male
|
||||||
|
Goldilocks;female
|
||||||
|
Glinda;female
|
||||||
|
Robin Hood;male
|
||||||
|
|
|
@ -86,7 +86,10 @@ def get_samplers_for_img2img():
|
||||||
return samplerlist
|
return samplerlist
|
||||||
|
|
||||||
def upscalers_on_startup():
|
def upscalers_on_startup():
|
||||||
modelloader.cleanup_models()
|
try:
|
||||||
|
modelloader.cleanup_models()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
modelloader.load_upscalers()
|
modelloader.load_upscalers()
|
||||||
upscalerlistfromwWebUI = [x.name for x in shared.sd_upscalers]
|
upscalerlistfromwWebUI = [x.name for x in shared.sd_upscalers]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue