comrender commited on
Commit
27a97b5
·
verified ·
1 Parent(s): b0a9f3e

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +41 -18
requirements.txt CHANGED
@@ -1,22 +1,45 @@
1
- gradio
 
2
  gradio_imageslider
3
- torch
 
 
4
  torchvision
5
- diffusers
 
 
 
6
  transformers==4.45.0
7
- huggingface_hub
 
 
 
 
8
  spaces
9
- accelerate
10
- safetensors
11
- Pillow
12
- numpy
13
- requests
14
- einops
15
- timm
16
- sentencepiece
17
- basicsr>=1.3.4.0
18
- gfpgan
19
- facexlib>=0.2.0.3
20
- opencv-python-headless
21
- scipy
22
- tqdm
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core Gradio components
2
+ gradio>=4.0.0
3
  gradio_imageslider
4
+
5
+ # PyTorch and vision
6
+ torch>=2.0.0
7
  torchvision
8
+ torchaudio
9
+
10
+ # Diffusion models (FLUX)
11
+ diffusers>=0.30.0
12
  transformers==4.45.0
13
+ accelerate>=0.25.0
14
+ safetensors>=0.4.0
15
+
16
+ # HuggingFace ecosystem
17
+ huggingface_hub>=0.20.0
18
  spaces
19
+
20
+ # Image processing
21
+ Pillow>=10.0.0
22
+ opencv-python-headless>=4.8.0
23
+
24
+ # Numerical computing
25
+ numpy<2.0.0
26
+ scipy>=1.11.0
27
+ einops>=0.7.0
28
+
29
+ # ESRGAN upscaling (4x-UltraSharp model)
30
+ basicsr>=1.4.2
31
+ gfpgan>=1.3.8
32
+ facexlib>=0.3.0
33
+ realesrgan>=0.3.0
34
+
35
+ # Utilities
36
+ requests>=2.31.0
37
+ tqdm>=4.66.0
38
+
39
+ # NLP tokenization (for Florence-2)
40
+ timm>=0.9.0
41
+ sentencepiece>=0.1.99
42
+
43
+ # Optional: For better ESRGAN performance
44
+ tb-nightly
45
+ yapf