mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
give user chance to back out before migration
This commit is contained in:
parent
81dee04dc9
commit
d01adedff5
@ -937,9 +937,17 @@ class ModelManager(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
print(
|
print(
|
||||||
"** Old model directory layout (< v3.0) detected. Reorganizing."
|
"""
|
||||||
|
>> ALERT:
|
||||||
|
>> The location of your previously-installed diffusers models needs to move from
|
||||||
|
>> invokeai/models/diffusers to invokeai/models/hub due to a change introduced by
|
||||||
|
>> diffusers version 0.14. InvokeAI will now move all models from the "diffusers" directory
|
||||||
|
>> into "hub" and then remove the diffusers directory. This is a quick, safe, one-time
|
||||||
|
>> operation. However if you have customized either of these directories and need to
|
||||||
|
>> make adjustments, please press ctrl-C now to abort and relaunch InvokeAI when you are ready.
|
||||||
|
>> Otherwise press <enter> to continue."""
|
||||||
)
|
)
|
||||||
print("** This is a quick one-time operation.")
|
input('continue> ')
|
||||||
|
|
||||||
# transformer files get moved into the hub directory
|
# transformer files get moved into the hub directory
|
||||||
if cls._is_huggingface_hub_directory_present():
|
if cls._is_huggingface_hub_directory_present():
|
||||||
|
Loading…
Reference in New Issue
Block a user