pipe.load_textual_inversion("sd-concepts-library/midjourney-style") Compel provides a DiffusersTextualInversionManager class to simplify prompt weighting with textual inversion. Instantiate DiffusersTextualInversionManager and pass it to the Compel class:   Copied textual_inversion_manager = DiffusersTextualInversionManager(pipe)