AJ50 commited on
Commit
3435f33
·
1 Parent(s): 39d28b8

Switch to Python 3.11 to avoid TTS numpy==1.22.0 constraint. Use numpy 1.24.3 compatible with all packages.

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. backend/requirements.txt +1 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10-slim
2
 
3
  # Install system dependencies including build tools and BLAS/LAPACK for scipy
4
  RUN apt-get update && apt-get install -y \
 
1
+ FROM python:3.11-slim
2
 
3
  # Install system dependencies including build tools and BLAS/LAPACK for scipy
4
  RUN apt-get update && apt-get install -y \
backend/requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  flask==2.3.3
2
  flask-cors==4.0.0
3
  gunicorn==21.2.0
4
- numpy==1.26.4
5
  torch==2.1.2
6
  librosa==0.10.1
7
  soundfile==0.12.1
 
1
  flask==2.3.3
2
  flask-cors==4.0.0
3
  gunicorn==21.2.0
4
+ numpy==1.24.3
5
  torch==2.1.2
6
  librosa==0.10.1
7
  soundfile==0.12.1