in parler_tts/modeling_parler_tts.py [0:0]
def get_encoder(self): # get the text encoder to compute the encoder hidden-states for generation return self.get_text_encoder()