update 2.0

This commit is contained in:
admin
2024-10-22 02:59:09 +00:00
parent 1c82aa3948
commit e011cf4142
7 changed files with 116 additions and 1025 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -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 && \

View File

@@ -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 😔)

1126
app.py

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -212,6 +212,8 @@ config.json --custom_vocab vocab.json
## 🚀 使用
----> `ebook2audiobookXTTS/legacy/`
### 🖥️ Web界面
1. **运行脚本**: