mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
update 2.0
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -27,7 +27,6 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -
|
||||
rm ~/miniconda.sh
|
||||
|
||||
|
||||
|
||||
# Set PATH to include conda
|
||||
ENV PATH=/opt/conda/bin:$PATH
|
||||
|
||||
@@ -46,14 +45,19 @@ RUN conda install -n ebookenv -c conda-forge \
|
||||
bs4 \
|
||||
beautifulsoup4 \
|
||||
ebooklib \
|
||||
translate \
|
||||
tqdm \
|
||||
tts==0.21.3 \
|
||||
unidic \
|
||||
gradio
|
||||
gradio \
|
||||
docker
|
||||
|
||||
# Download unidic
|
||||
RUN python -m unidic download
|
||||
|
||||
# Download spacy NLP
|
||||
RUN python -m spacy download en_core_web_sm
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /ebook2audiobookXTTS
|
||||
|
||||
@@ -61,7 +65,7 @@ WORKDIR /ebook2audiobookXTTS
|
||||
RUN git clone https://github.com/DrewThomasson/ebook2audiobookXTTS.git .
|
||||
|
||||
# Copy test audio file
|
||||
COPY default_voice.wav /ebook2audiobookXTTS/
|
||||
COPY ./voices/adult/female/en/default_voice.wav /ebook2audiobookXTTS/
|
||||
|
||||
# Run a test to set up XTTS
|
||||
RUN echo "import torch" > /tmp/script1.py && \
|
||||
|
||||
@@ -439,7 +439,8 @@ https://github.com/user-attachments/assets/8486603c-38b1-43ce-9639-73757dfb1031
|
||||
- "Im getting a truncated audio issue!" - PLEASE MAKE AN ISSUE OF THIS, I don't speak every language and I need advise from each person to fine tune my sentense splitting function on any other languages.😊
|
||||
- "The loading bar is stuck at 30% in the web gui!" - The web gui loading bar is extreamly basic as its just split between the three loading steps, refer to the terminal and what sentense it's on for a more accurate gauge on where is it progress wise.
|
||||
|
||||
## What I need help with! 🙌
|
||||
## What I need help with! 🙌
|
||||
## [Full list of things can be found here](https://github.com/DrewThomasson/ebook2audiobookXTTS/issues/32)
|
||||
- Any help from people speaking any of the supported langues to help with proper sentence splitting methods
|
||||
- Potentially creating readme Guides for Multiple languages(Becuase the only language I know is English 😔)
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -212,6 +212,8 @@ config.json --custom_vocab vocab.json
|
||||
|
||||
## 🚀 使用
|
||||
|
||||
----> `ebook2audiobookXTTS/legacy/`
|
||||
|
||||
### 🖥️ Web界面
|
||||
|
||||
1. **运行脚本**:
|
||||
|
||||
Reference in New Issue
Block a user