unknown commited on
Commit
d6c97a5
·
1 Parent(s): 75181d0

Fix HF Spaces deps: pin python and relax hub/datasets

Browse files
Files changed (2) hide show
  1. requirements.txt +13 -6
  2. runtime.txt +1 -0
requirements.txt CHANGED
@@ -1,16 +1,23 @@
1
- transformers==4.38.2
 
 
 
2
  torch
3
  torchaudio
 
 
 
 
 
 
 
4
  numpy
5
  pandas
 
 
6
  jiwer
7
  regex
8
  rapidfuzz
9
  soundfile
10
  librosa
11
- tqdm
12
  pydantic>=2.0
13
- gradio>=4.0
14
- pyarrow
15
- datasets==2.19.2
16
- huggingface-hub==0.24.6
 
1
+ # Let Spaces manage gradio==6.8.0
2
+ # gradio is injected by Spaces build command
3
+
4
+ transformers>=4.38,<5.0
5
  torch
6
  torchaudio
7
+
8
+ # IMPORTANT: satisfy gradio 6.8.0
9
+ huggingface-hub>=0.33.5,<2.0
10
+
11
+ # datasets that still supports dataset scripts
12
+ datasets>=2.19.0,<3.0
13
+
14
  numpy
15
  pandas
16
+ pyarrow
17
+ tqdm
18
  jiwer
19
  regex
20
  rapidfuzz
21
  soundfile
22
  librosa
 
23
  pydantic>=2.0
 
 
 
 
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.10