DrewThomasson / ebook2audiobook

Generates an audiobook with chapters and ebook metadata using Calibre and Xtts from Coqui tts, and with optional voice cloning, and supports multiple languages
MIT License
795 stars 78 forks source link

ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils' when running #1

Closed DrewThomasson closed 9 months ago

DrewThomasson commented 9 months ago

pip install transformers==4.33.0 seems to fix it

fix pulled from -> https://github.com/huggingface/transformers/issues/28649