-
Notifications
You must be signed in to change notification settings - Fork 10
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 #9 from kanjieater/ym-algo
Ascending to alignment perfection
- Loading branch information
Showing
40 changed files
with
2,129 additions
and
666 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.env | ||
__pycache__/ | ||
build/ | ||
.vscode/ | ||
*.egg-info | ||
|
||
SyncCache/ | ||
|
||
mapping.json | ||
sub.json |
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,4 +1,10 @@ | ||
.env | ||
__pycache__/ | ||
.vscode/ | ||
build/ | ||
*.egg-info | ||
|
||
SyncCache/ | ||
|
||
mapping.json | ||
sub.json | ||
sub.json |
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,2 +1,2 @@ | ||
ats | ||
3.9.9 | ||
subplz | ||
3.11.2 |
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,6 +1,8 @@ | ||
{ | ||
"[python]": { | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 4 | ||
} | ||
} | ||
"editor.tabSize": 4, | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
}, | ||
"editor.defaultFoldingRangeProvider": null | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Use the LinuxServer.io base image | ||
FROM ghcr.io/linuxserver/faster-whisper:gpu | ||
|
||
# Set environment variables | ||
ENV PUID=1000 \ | ||
PGID=1000 \ | ||
TZ=Etc/UTC \ | ||
WHISPER_MODEL=tiny-int8 \ | ||
WHISPER_BEAM=1 \ | ||
WHISPER_LANG=ja | ||
|
||
# Install dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
git \ | ||
ffmpeg \ | ||
libportaudio2 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#remove when we get abts updated w/ a pyproject.toml | ||
COPY /home/ke/code/AudiobookTextSync /tmp/AudiobookTextSync | ||
|
||
COPY pyproject.toml /tmp/ | ||
RUN pip install --no-cache-dir /tmp/ | ||
|
||
# Copy application files | ||
COPY . /app | ||
|
||
# Set work directory | ||
WORKDIR /app | ||
|
||
# # Expose port for Wyoming connection | ||
# EXPOSE 10300 | ||
|
||
# Healthcheck to ensure container is running | ||
HEALTHCHECK --interval=30s --timeout=10s CMD nc -z localhost 10300 || exit 1 | ||
|
||
# Start the application | ||
# ENTRYPOINT ["python", "./src/main.py"] | ||
# CMD ["--help"] |
Oops, something went wrong.