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

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -20
requirements.txt CHANGED
@@ -1,45 +1,35 @@
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
 
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