File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
invokeai/frontend/install Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,15 @@ def welcome(versions: dict):
5454 def text ():
5555 yield f"InvokeAI Version: [bold yellow]{ __version__ } "
5656 yield ""
57- yield "This script will update InvokeAI to the latest release, or to a development version of your choice."
57+ yield "This script will update InvokeAI to the latest release, or to the development version of your choice."
58+ yield ""
59+ yield "When updating to an arbitrary tag or branch, be aware that the front end may be mismatched to the backend,"
60+ yield "making the web frontend unusable. Please downgrade to the latest release if this happens."
5861 yield ""
5962 yield "[bold yellow]Options:"
6063 yield f"""[1] Update to the latest official release ([italic]{ versions [0 ]['tag_name' ]} [/italic])
61- [2] Update to the bleeding-edge development version ([italic]main[/italic])
62- [3] Manually enter the [bold]tag name[/bold] for the version you wish to update to
63- [4] Manually enter the [bold]branch name[/bold] for the version you wish to update to"""
64+ [2] Manually enter the [bold]tag name[/bold] for the version you wish to update to
65+ [3] Manually enter the [bold]branch name[/bold] for the version you wish to update to"""
6466
6567 console .rule ()
6668 print (
@@ -104,11 +106,11 @@ def main():
104106 if choice == "1" :
105107 release = versions [0 ]["tag_name" ]
106108 elif choice == "2" :
107- release = "main"
109+ while not tag :
110+ tag = Prompt .ask ("Enter an InvokeAI tag name" )
108111 elif choice == "3" :
109- tag = Prompt .ask ("Enter an InvokeAI tag name" )
110- elif choice == "4" :
111- branch = Prompt .ask ("Enter an InvokeAI branch name" )
112+ while not branch :
113+ branch = Prompt .ask ("Enter an InvokeAI branch name" )
112114
113115 extras = get_extras ()
114116
You can’t perform that action at this time.
0 commit comments