Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +6 -13
requirements.txt
CHANGED
@@ -3,9 +3,9 @@ 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
|
@@ -18,16 +18,9 @@ huggingface_hub>=0.20.0
|
|
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
|
|
|
|
|
|
|
|
3 |
gradio_imageslider
|
4 |
spaces
|
5 |
|
6 |
+
# PyTorch (essential)
|
7 |
torch>=2.0.0
|
8 |
+
torchvision>=0.15.0
|
9 |
|
10 |
# FLUX requirements
|
11 |
diffusers>=0.30.0
|
|
|
18 |
Pillow>=10.0.0
|
19 |
numpy<2.0.0
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
# Utils
|
22 |
requests>=2.31.0
|
23 |
+
tqdm>=4.66.0
|
24 |
+
|
25 |
+
# Note: basicsr removed due to compatibility issues
|
26 |
+
# ESRGAN is implemented directly in the code
|