-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
890c17f
commit 6fbfb3f
Showing
5 changed files
with
71 additions
and
7 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,23 @@ | ||
__pycache__ | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
.Python | ||
env/ | ||
venv/ | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.log | ||
.git | ||
.gitignore | ||
.mypy_cache | ||
.pytest_cache | ||
.hypothesis | ||
.idea |
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,24 @@ | ||
#FROM python:3.10.6 | ||
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime | ||
|
||
WORKDIR /subsai | ||
|
||
COPY requirements.txt . | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y git && \ | ||
apt-get -y install gcc mono-mcs && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY pyproject.toml . | ||
COPY ./src ./src | ||
COPY ./assets ./assets | ||
|
||
RUN pip install . | ||
|
||
CMD ["python", "src/subsai/webui.py"] | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: '3.8' | ||
|
||
services: | ||
subsai-webui: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile |
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,13 +1,13 @@ | ||
torch | ||
torch==2.0.1 | ||
openai-whisper==20230124 | ||
streamlit~=1.20.0 | ||
streamlit_player~=0.1.5 | ||
streamlit-aggrid~=0.3.4 | ||
ffsubsync~=0.4.24 | ||
whisper-timestamped @ git+https://github.com/linto-ai/whisper-timestamped | ||
pandas | ||
pandas==1.5.3 | ||
pysubs2~=1.6.0 | ||
pywhispercpp==1.1.1 | ||
dl_translate | ||
faster_whisper | ||
dl_translate==0.2.6 | ||
faster_whisper==0.5.1 | ||
whisperx @ git+https://github.com/m-bain/whisperx.git |