diff --git a/ldm/generate.py b/ldm/generate.py index 76629ff2f9..5379d49fa4 100644 --- a/ldm/generate.py +++ b/ldm/generate.py @@ -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