Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +41 -18
requirements.txt
CHANGED
|
@@ -1,22 +1,45 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
gradio_imageslider
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
torchvision
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
| 6 |
transformers==4.45.0
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
spaces
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
Pillow
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|