mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(installer): print correct version when a non-default version is selected
This commit is contained in:
parent
2175fe3823
commit
c9e246ed1b
@ -92,7 +92,8 @@ def choose_version(available_releases: tuple | None = None) -> str:
|
||||
completer=FuzzyWordCompleter(choices),
|
||||
)
|
||||
|
||||
console.print(f" Version {choices[0]} will be installed.")
|
||||
console.print(f" Version {choices[0] if response == "" else response} will be installed.")
|
||||
|
||||
console.line()
|
||||
|
||||
return "stable" if response == "" else response
|
||||
|
Loading…
Reference in New Issue
Block a user