mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update string formatting
This commit is contained in:
parent
d925f721b9
commit
0be9a2d906
@ -82,17 +82,7 @@ def choose_version(available_releases: tuple | None = None) -> str:
|
|||||||
if available_releases is None:
|
if available_releases is None:
|
||||||
return "stable"
|
return "stable"
|
||||||
|
|
||||||
console.print(":grey_question: [orange3]Please choose an Invoke version to install.")
|
console.print(f" Version {choices[0] if response == '' else response} will be installed.")
|
||||||
|
|
||||||
choices = available_releases[0] + available_releases[1]
|
|
||||||
|
|
||||||
response = prompt(
|
|
||||||
message=f" <Enter> to install the recommended release ({choices[0]}). <Tab> or type to pick a version: ",
|
|
||||||
complete_while_typing=True,
|
|
||||||
completer=FuzzyWordCompleter(choices),
|
|
||||||
)
|
|
||||||
|
|
||||||
console.print(f" Version {choices[0] if response == "" else response} will be installed.")
|
|
||||||
|
|
||||||
console.line()
|
console.line()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user