version upgrades
Browse files- Dockerfile +4 -4
- README.md +2 -2
- requirements.txt +9 -9
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM pytorch/pytorch:2.
|
2 |
|
3 |
ENV NB_USER jovyan
|
4 |
ENV NB_UID 1000
|
@@ -18,8 +18,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
|
|
18 |
&& add-apt-repository ppa:deadsnakes/ppa \
|
19 |
&& apt-get -yq update \
|
20 |
&& apt-get -yq install --no-install-recommends \
|
21 |
-
python3.
|
22 |
-
python3.
|
23 |
&& apt upgrade -y \
|
24 |
&& apt-get clean \
|
25 |
&& rm -rf /var/lib/apt/lists/*
|
@@ -34,7 +34,7 @@ WORKDIR /home/${NB_USER}/
|
|
34 |
ENV PATH=/venv/bin:$PATH
|
35 |
|
36 |
COPY --chown=${NB_USER}:users ./requirements.txt /home/${NB_USER}/requirements.txt
|
37 |
-
RUN python3.
|
38 |
&& /home/${NB_USER}/venv/bin/pip install --upgrade pip wheel \
|
39 |
&& /home/${NB_USER}/venv/bin/pip install -r /home/${NB_USER}/requirements.txt
|
40 |
|
|
|
1 |
+
FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime
|
2 |
|
3 |
ENV NB_USER jovyan
|
4 |
ENV NB_UID 1000
|
|
|
18 |
&& add-apt-repository ppa:deadsnakes/ppa \
|
19 |
&& apt-get -yq update \
|
20 |
&& apt-get -yq install --no-install-recommends \
|
21 |
+
python3.11 \
|
22 |
+
python3.11-venv \
|
23 |
&& apt upgrade -y \
|
24 |
&& apt-get clean \
|
25 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
34 |
ENV PATH=/venv/bin:$PATH
|
35 |
|
36 |
COPY --chown=${NB_USER}:users ./requirements.txt /home/${NB_USER}/requirements.txt
|
37 |
+
RUN python3.11 -m venv /home/${NB_USER}/venv \
|
38 |
&& /home/${NB_USER}/venv/bin/pip install --upgrade pip wheel \
|
39 |
&& /home/${NB_USER}/venv/bin/pip install -r /home/${NB_USER}/requirements.txt
|
40 |
|
README.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
title: Automatic speech recognition
|
3 |
sdk: gradio
|
4 |
app_file: src/app.py
|
5 |
-
python_version: 3.
|
6 |
-
sdk_version: 4.
|
7 |
app_port: 7860
|
8 |
tags: [asr, stt, speech-to-text, whisper, pyannote, diarization]
|
9 |
pinned: true
|
|
|
2 |
title: Automatic speech recognition
|
3 |
sdk: gradio
|
4 |
app_file: src/app.py
|
5 |
+
python_version: 3.11
|
6 |
+
sdk_version: 4.40.0
|
7 |
app_port: 7860
|
8 |
tags: [asr, stt, speech-to-text, whisper, pyannote, diarization]
|
9 |
pinned: true
|
requirements.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
transformers==4.
|
2 |
-
accelerate==0.
|
3 |
-
gradio==4.
|
4 |
-
pyannote.audio==3.
|
5 |
-
python-docx==
|
6 |
-
pandas==2.2.
|
7 |
-
python-dotenv
|
8 |
optimum
|
9 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
10 |
-
torch==2.
|
11 |
-
torchaudio==2.
|
|
|
1 |
+
transformers==4.43.4
|
2 |
+
accelerate==0.33.0
|
3 |
+
gradio==4.40.0
|
4 |
+
pyannote.audio==3.3.1
|
5 |
+
python-docx==1.1.2
|
6 |
+
pandas==2.2.2
|
7 |
+
python-dotenv==1.0.1
|
8 |
optimum
|
9 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
10 |
+
torch==2.4.0
|
11 |
+
torchaudio==2.4.0
|