alphabetize trigger strings

This commit is contained in:
Lincoln Stein 2023-02-21 06:23:34 -05:00
parent 91f7abb398
commit 9436f2e3d1

View File

@ -972,7 +972,7 @@ class Generate:
ti_path, defer_injecting_tokens=True
)
print(
f'>> Textual inversion triggers: {", ".join(self.model.textual_inversion_manager.get_all_trigger_strings())}'
f'>> Textual inversion triggers: {", ".join(sorted(self.model.textual_inversion_manager.get_all_trigger_strings()))}'
)
self.model_name = model_name