Ruhivig65 commited on
Commit
a8c177f
·
verified ·
1 Parent(s): 807d482

Upload 7 files

Browse files
Files changed (3) hide show
  1. Dockerfile +3 -0
  2. README.md +1 -0
  3. requirements.txt +5 -5
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM python:3.10-slim
2
 
 
 
 
3
  # System dependencies
4
  RUN apt-get update && apt-get install -y --no-install-recommends \
5
  build-essential \
 
1
  FROM python:3.10-slim
2
 
3
+ # Force Python version for HuggingFace Spaces
4
+ ENV PYTHON_VERSION=3.10
5
+
6
  # System dependencies
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
  build-essential \
README.md CHANGED
@@ -9,6 +9,7 @@ app_file: app.py
9
  pinned: true
10
  license: apache-2.0
11
  suggested_hardware: t4-medium
 
12
  ---
13
 
14
  # 🎙️ VoiceCraft AI
 
9
  pinned: true
10
  license: apache-2.0
11
  suggested_hardware: t4-medium
12
+ python_version: "3.10"
13
  ---
14
 
15
  # 🎙️ VoiceCraft AI
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
- TTS>=0.22.0
2
- torch>=2.0.0
3
- torchaudio>=2.0.0
4
- numpy>=1.24.0
5
  scipy>=1.10.0
6
- gradio>=4.0.0
7
  chardet>=5.0.0
 
1
+ TTS==0.22.0
2
+ torch>=2.0.0,<2.3.0
3
+ torchaudio>=2.0.0,<2.3.0
4
+ numpy>=1.24.0,<2.0.0
5
  scipy>=1.10.0
6
+ gradio==4.44.0
7
  chardet>=5.0.0