husseinelsaadi commited on
Commit
c753531
·
1 Parent(s): 0d73162

Fixed dependencies for faster HF build

Browse files
Files changed (2) hide show
  1. huggingface.yml +3 -0
  2. requirements.txt +35 -35
huggingface.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ python_version: 3.10
2
+ sdk: gradio
3
+ app_file: app.py # or your entry point
requirements.txt CHANGED
@@ -1,54 +1,54 @@
1
  # Core Scientific Stack
2
- numpy==1.24
3
- scipy
4
- soundfile
5
- sounddevice
6
  opencv-python==4.7.0.72
7
- moviepy
8
- librosa
9
 
10
  # Hugging Face Transformers + Whisper + Bark
11
- transformers
12
- torch
13
- sentencepiece==0.1.99 --prefer-binary
14
- sentence-transformers
15
- git+https://github.com/openai/whisper.git
16
- git+https://github.com/suno-ai/bark.git
17
 
18
- # TTS + gTTS
19
- TTS
20
- gTTS
21
 
22
  # Langchain ecosystem
23
- langchain
24
- langchain_groq
25
- langchain_community
26
- langchain_huggingface
27
- llama-index
28
- cohere
29
 
30
  # Vector database
31
- qdrant-client
32
 
33
  # Emotion & face recognition
34
- deepface
35
- tensorflow
36
- tf-keras
37
 
38
  # Document parsing (CV/Job Description)
39
- textract
40
- PyPDF2
41
- python-docx
42
 
43
  # Audio I/O and video support
44
- ffmpeg-python
45
- pyaudio
46
 
47
  # Misc tools
48
- fuzzywuzzy
49
- inputimeout
50
- evaluate
51
- datasets
52
 
53
- # Ensure compatibility with pip
54
  pip==23.3.1
 
1
  # Core Scientific Stack
2
+ numpy==1.24.4
3
+ scipy==1.11.3
4
+ soundfile==0.12.1
5
+ sounddevice==0.4.6
6
  opencv-python==4.7.0.72
7
+ moviepy==1.0.3
8
+ librosa==0.10.0.post2
9
 
10
  # Hugging Face Transformers + Whisper + Bark
11
+ transformers==4.38.1
12
+ torch==2.1.2
13
+ sentencepiece==0.1.99
14
+ sentence-transformers==2.2.2
15
+ git+https://github.com/openai/whisper.git@c0d2f62
16
+ git+https://github.com/suno-ai/bark.git@f4f32d4
17
 
18
+ # TTS + gTTS (optional if Bark replaces them)
19
+ TTS==0.22.0
20
+ gTTS==2.5.4
21
 
22
  # Langchain ecosystem
23
+ langchain==0.3.26
24
+ langchain_groq==0.3.6
25
+ langchain_community==0.3.27
26
+ langchain_huggingface==0.3.0
27
+ llama-index==0.12.48
28
+ cohere==5.16.1
29
 
30
  # Vector database
31
+ qdrant-client==1.14.3
32
 
33
  # Emotion & face recognition
34
+ deepface==0.0.93
35
+ tensorflow==2.14.0
36
+ tf-keras==2.14.0
37
 
38
  # Document parsing (CV/Job Description)
39
+ textract==1.6.3
40
+ PyPDF2==3.0.1
41
+ python-docx==1.2.0
42
 
43
  # Audio I/O and video support
44
+ ffmpeg-python==0.2.0
45
+ pyaudio==0.2.14
46
 
47
  # Misc tools
48
+ fuzzywuzzy==0.18.0
49
+ inputimeout==1.0.4
50
+ evaluate==0.4.5
51
+ datasets==4.0.0
52
 
53
+ # Pinned pip version
54
  pip==23.3.1