urwebsiteaz-ux commited on
Commit
398f806
Β·
1 Parent(s): d4708fc
Files changed (1) hide show
  1. requirements.txt +15 -5
requirements.txt CHANGED
@@ -1,9 +1,19 @@
1
- torch==2.7.0
2
- torchaudio==2.7.0
3
- transformers==4.46.3
 
 
4
  peft==0.13.2
 
 
 
5
  gradio==5.6.0
6
- huggingface_hub==0.25.2
 
 
 
 
 
 
7
  soundfile==0.12.1
8
- accelerate==1.1.1
9
  sentencepiece==0.2.0
 
1
+ # ── Core ML stack ──────────────────────────────────────────────────────────
2
+ # Remove +cpu suffix if the Space is always guaranteed a T4 GPU
3
+ torch==2.3.1
4
+ torchaudio==2.3.1
5
+ transformers==4.47.1 # first release stable on Python 3.13; full Whisper support
6
  peft==0.13.2
7
+ accelerate==0.34.2 # compatible with transformers 4.47.x
8
+
9
+ # ── Gradio stack ───────────────────────────────────────────────────────────
10
  gradio==5.6.0
11
+ pydantic==2.10.6 # CRITICAL: pins below pydantic 2.11 which breaks gradio_client 1.4.x
12
+ # (gradio_client get_type: "if const in schema" crashes on bool)
13
+
14
+ # ── HuggingFace ────────────────────────────────────────────────────────────
15
+ huggingface_hub==0.26.3 # minimum required by peft 0.13.2 (0.25.2 is too old)
16
+
17
+ # ── Audio ──────────────────────────────────────────────────────────────────
18
  soundfile==0.12.1
 
19
  sentencepiece==0.2.0