comrender commited on
Commit
f48876f
·
verified ·
1 Parent(s): a49f337

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +15 -17
requirements.txt CHANGED
@@ -1,35 +1,33 @@
1
- # Core requirements for ZeroGPU Spaces
2
  gradio>=4.0.0
3
  gradio_imageslider
4
  spaces
5
 
6
- # PyTorch (will use pre-installed version on Spaces)
7
  torch>=2.0.0
8
  torchvision
9
 
10
- # Essential for FLUX
11
  diffusers>=0.30.0
12
- transformers==4.45.0
13
  accelerate>=0.25.0
14
  safetensors>=0.4.0
15
-
16
- # HuggingFace
17
  huggingface_hub>=0.20.0
18
 
19
  # Image processing
20
  Pillow>=10.0.0
21
-
22
- # Numerical
23
  numpy<2.0.0
24
- einops>=0.7.0
25
 
26
- # Utils
27
- requests>=2.31.0
28
- tqdm>=4.66.0
 
29
 
30
- # Florence-2 requirements
31
- timm>=0.9.0
32
- sentencepiece>=0.1.99
 
33
 
34
- # Note: Removed ESRGAN dependencies for ZeroGPU stability
35
- # basicsr, gfpgan, facexlib, opencv-python-headless removed
 
 
1
+ # Core requirements
2
  gradio>=4.0.0
3
  gradio_imageslider
4
  spaces
5
 
6
+ # PyTorch
7
  torch>=2.0.0
8
  torchvision
9
 
10
+ # FLUX requirements
11
  diffusers>=0.30.0
12
+ transformers>=4.40.0
13
  accelerate>=0.25.0
14
  safetensors>=0.4.0
 
 
15
  huggingface_hub>=0.20.0
16
 
17
  # Image processing
18
  Pillow>=10.0.0
 
 
19
  numpy<2.0.0
 
20
 
21
+ # ESRGAN requirements
22
+ basicsr>=1.4.2
23
+ opencv-python-headless>=4.8.0
24
+ scipy>=1.11.0
25
 
26
+ # Optional but recommended for ESRGAN
27
+ tb-nightly
28
+ yapf
29
+ lmdb
30
 
31
+ # Utils
32
+ requests>=2.31.0
33
+ tqdm>=4.66.0