โปรแกรมนี้ใช้ความสามารถในการแปลง ebooks เป็นบทและ Styletts2 เพื่อแปลงบทเหล่านี้ให้เป็นหนังสือเสียง
มันมีเทคโนโลยีข้อความเป็นคำพูดที่มีความสามารถในการโคลนเสียงเสริมหากมีไฟล์เสียง
.epub, .pdf, .mobi, .txt, .html, .rtf, .chm, .lit, .pdb, .fb2, .Odt, .cbr, .cbz, .prc, .lrf, .pml, .snb, .cbc



ebook-convert ของ CaliberStyleTTS2 สำหรับการแปลงแต่ละบทเป็นไฟล์เสียงในการเริ่มต้นอย่างรวดเร็วด้วย ebook นี้ไปยังเครื่องแปลง AudioBook เพียงเรียกใช้คำสั่ง Docker ต่อไปนี้:
ในการเรียกใช้คอนเทนเนอร์ Docker และเริ่มอินเตอร์เฟส Gradio ให้ใช้คำสั่งต่อไปนี้:
ทำงานด้วย GPU
docker run - it -- rm -- gpus all - p 7860 : 7860 athomasson2 / ebook2audiobookstyletts2:latestทำงานโดยไม่มี GPU
docker run - it -- rm - p 7860 : 7860 athomasson2 / ebook2audiobookstyletts2:latest สิ่งนี้จะเริ่มต้นอินเทอร์เฟซ Gradio บนพอร์ต 7860 คุณสามารถเข้าถึงได้โดยการนำทางไปยัง http://localhost:7860 ในเว็บเบราว์เซอร์ของคุณ
styletts2 Pythonsudo apt-get install -y calibrebrew install calibrechoco install calibresudo apt-get install -y ffmpegbrew install ffmpegchoco install ffmpegpip install styletts2 pydub nltk beautifulsoup4 ebooklib tqdmนำทางไปยังไดเรกทอรีของสคริปต์ในเทอร์มินัลและใช้หนึ่งในคำสั่งต่อไปนี้:
python styletts_to_ebook.py < path_to_ebook_file >แทนที่ <path_to_ebook_file> ด้วยพา ธ ไปยังไฟล์ ebook ของคุณ
python styletts_to_ebook.py < path_to_ebook_file > < path_to_voice_file >แทนที่ <path_to_ebook_file> ด้วยพา ธ ไปยังไฟล์ ebook ของคุณ
แทนที่ <path_to_voice_file> ด้วยพา ธ ไปยังไฟล์เสียงสำหรับการโคลนนิ่ง