tools4eu commited on
Commit
6b939cc
1 Parent(s): 84a7e64

version upgrades

Browse files
Files changed (3) hide show
  1. Dockerfile +4 -4
  2. README.md +2 -2
  3. requirements.txt +9 -9
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-runtime
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.10 \
22
- python3.10-venv \
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.10 -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
 
 
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.10
6
- sdk_version: 4.21.0
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.38.2
2
- accelerate==0.27.2
3
- gradio==4.21.0
4
- pyannote.audio==3.1.1
5
- python-docx==0.8.11
6
- pandas==2.2.1
7
- python-dotenv
8
  optimum
9
  --extra-index-url https://download.pytorch.org/whl/cu121
10
- torch==2.1.2
11
- torchaudio==2.1.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