-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from projecte-aina/matxa_migration
Matxa migration
- Loading branch information
Showing
42 changed files
with
1,365 additions
and
955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
**/.git | ||
**/.gitignore | ||
**/.vscode | ||
**/coverage | ||
**/.env | ||
**/.ssh | ||
Dockerfile | ||
# Ignore the virtual environment directory | ||
venv | ||
|
||
# Ignore Python cache files | ||
__pycache__ | ||
|
||
# Ignore environment and dependency files | ||
*.env | ||
*.log | ||
*.tmp | ||
|
||
# Ignore configuration and metadata files | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
docker-compose*.yml | ||
LICENSE.txt | ||
Makefile | ||
README.md | ||
docker-compose.yml | ||
**/.DS_Store | ||
**/venv | ||
**/env | ||
**/__pycache__ | ||
charts | ||
Makefile | ||
SECURITY.md | ||
|
||
# Ignore specific scripts and files | ||
infer_wavenext_onnx.py | ||
_main.py | ||
|
||
# Ignore any other .md files | ||
*.md | ||
|
||
# Ignore any other temporary or unnecessary files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
|
||
# Exclude specific files or directories if needed for the Docker build | ||
# !important_file.py | ||
# !important_directory/ | ||
models/matxa_onnx/best_model.onnx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.pth | ||
*.json | ||
models | ||
venv* | ||
__pycache__ | ||
**/.env | ||
!models/matxa_onnx/spk_ids.json | ||
venv/ | ||
**/__pycache__/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,10 @@ | ||
FROM python:3.10.12-slim | ||
# RUN apt-get update && apt-get install -y --no-install-recommends wget gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/* | ||
|
||
# Install required packages for building eSpeak and general utilities | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
autoconf \ | ||
automake \ | ||
libtool \ | ||
pkg-config \ | ||
git \ | ||
wget \ | ||
cmake \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone -b dev-ca https://github.com/projecte-aina/espeak-ng | ||
|
||
RUN pip install --upgrade pip && \ | ||
cd espeak-ng && \ | ||
./autogen.sh && \ | ||
./configure --prefix=/usr && \ | ||
make && \ | ||
make install | ||
|
||
RUN pip install git+https://github.com/MycroftAI/lingua-franca.git@5bfd75fe5996fd364102a0eec3f714c9ddc9275c | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt /app | ||
RUN python -m pip install --upgrade pip | ||
RUN python -m pip install --no-cache-dir -r requirements.txt | ||
RUN pip install pytest httpx pydub pytest-repeat | ||
RUN pip install --upgrade pip | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN pip install pytest httpx pydub pytest-repeat --no-cache-dir | ||
|
||
ENTRYPOINT pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.