Rafii commited on
Commit
89e6534
·
1 Parent(s): 306045b
Files changed (1) hide show
  1. requirements.txt +13 -7
requirements.txt CHANGED
@@ -1,15 +1,19 @@
1
  # Core dependencies
2
- numpy==1.25.2
 
3
  Cython
4
 
5
  # Audio/Video processing
6
  ffmpeg-python
7
  imageio-ffmpeg
8
- moviepy==1.0.3
 
9
 
10
- # PyTorch
11
- torch
12
- torchaudio
 
 
13
 
14
  # Translation and transcription
15
  deep-translator
@@ -18,5 +22,7 @@ librosa
18
  numba
19
 
20
  # UI
21
- gradio
22
- chatterbox-tts
 
 
 
1
  # Core dependencies
2
+ # UPGRADE NumPy to a recent, stable version with pre-compiled wheels
3
+ numpy==1.26.4
4
  Cython
5
 
6
  # Audio/Video processing
7
  ffmpeg-python
8
  imageio-ffmpeg
9
+ # UPGRADE MoviePy to latest stable version (fixes many internal issues and uses modern dependencies)
10
+ moviepy==1.3.2
11
 
12
+ # PyTorch (These are usually fine, but you should pin them if you know the target platform/CUDA)
13
+ # You may need to add the correct PyTorch URLs/versions for your desired GPU (e.g., CUDA 12.1)
14
+ # Example of explicit CPU version (safe for default Spaces environment):
15
+ torch==2.3.1
16
+ torchaudio==2.3.1
17
 
18
  # Translation and transcription
19
  deep-translator
 
22
  numba
23
 
24
  # UI
25
+ # Pin Gradio to latest stable release
26
+ gradio==4.38.1
27
+ # Pin Chatterbox-tts to latest to resolve the backtracking issue
28
+ chatterbox-tts==0.1.1