Files
Eutectico-ComfyUI-MOSS-TTS/lib
Federico Volovnik-Jose d7d090eb75 fix(loader): shim transformers.processing_utils.MODALITY_TO_BASE_CLASS_MAPPING
MOSS-TTS' remote processor code does:
  processing_utils.MODALITY_TO_BASE_CLASS_MAPPING['audio_tokenizer'] = 'PreTrainedModel'

That attribute only exists in transformers releases newer than what most
ComfyUI envs ship (e.g. transformers 4.57.6 doesn't have it yet). Without it,
AutoProcessor.from_pretrained crashes with AttributeError before the model
can load. Add a compat helper that creates the dict if missing, so MOSS-TTS'
own line works regardless of the installed transformers version.
2026-04-27 07:48:24 +02:00
..
2026-04-25 11:13:38 +02:00