raksama19 commited on
Commit
ef4ee98
·
verified ·
1 Parent(s): ee78b3d

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +69 -12
requirements.txt CHANGED
@@ -1,13 +1,70 @@
1
- numpy>=1.24.0
2
- omegaconf>=2.3.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  opencv-python>=4.8.0
4
- pillow>=9.3.0
5
- timm>=0.5.4
6
- torch>=2.1.0
7
- torchvision>=0.16.0
8
- transformers>=4.47.0
9
- accelerate>=1.6.0
10
- pymupdf>=1.26
11
- gradio>=5.36.0
12
- markdown>=3.0.0
13
- python-markdown-math>=0.8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Requirements for DOLPHIN PDF AI - Local Gemma 3n Version with Voice Chat
2
+ # Optimized for powerful GPU deployment with local models and voice functionality
3
+
4
+ # Core PyTorch dependencies (updated versions from voice_chat)
5
+ torch==2.3.1
6
+ torchvision==0.18.1
7
+ torchaudio==2.3.1
8
+
9
+ # Transformers and HuggingFace ecosystem
10
+ transformers>=4.53.0
11
+ huggingface-hub>=0.20.0
12
+ tokenizers>=0.21.0
13
+ accelerate>=0.20.0
14
+ timm>=1.0.16
15
+ bitsandbytes>=0.41.0
16
+ datasets>=2.14.0
17
+ safetensors>=0.3.0
18
+
19
+ # Gradio (using beta version from voice_chat for compatibility)
20
+ https://gradio-builds.s3.amazonaws.com/cffe9a7ab7f71e76d7214dc57c6278ffaf5bcdf9/gradio-5.0.0b1-py3-none-any.whl
21
+
22
+ # Image processing
23
+ Pillow>=10.0.0
24
  opencv-python>=4.8.0
25
+ numpy>=1.24.0
26
+
27
+ # PDF processing
28
+ PyMuPDF>=1.23.0
29
+
30
+ # RAG and embeddings
31
+ sentence-transformers>=2.2.0
32
+ scikit-learn>=1.3.0
33
+ faiss-cpu>=1.7.4
34
+
35
+ # Text processing and markdown
36
+ markdown>=3.5.0
37
+ python-markdown-math>=0.8
38
+
39
+ # Voice processing dependencies
40
+ librosa==0.10.2.post1
41
+ soundfile==0.12.1
42
+ pydub==0.25.1
43
+ onnxruntime==1.19.0
44
+ gtts>=2.3.0
45
+
46
+ # Voice chat specific dependencies
47
+ litgpt==0.4.3
48
+ snac==1.2.0
49
+ openai-whisper
50
+
51
+ # Web framework dependencies
52
+ fastapi==0.112.4
53
+ flask==3.0.3
54
+ streamlit==1.37.1
55
+
56
+ # Utilities
57
+ tqdm>=4.66.0
58
+ requests>=2.31.0
59
+ packaging>=23.0
60
+ pyyaml>=6.0
61
+ fire
62
+
63
+ # Optional but recommended for better performance
64
+ # flash-attn>=2.0.0; platform_system != "Darwin"
65
+ # xformers>=0.0.22; platform_system != "Darwin"
66
+ # PyAudio==0.2.14 # Commented out as it can cause installation issues
67
+
68
+ # Development and debugging
69
+ ipython>=8.0.0
70
+ jupyter>=1.0.0