Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +9 -21
requirements.txt
CHANGED
@@ -1,25 +1,13 @@
|
|
1 |
-
# Core ML/Torch
|
2 |
accelerate
|
3 |
-
|
|
|
4 |
transformers >= 4.34.0
|
5 |
-
xformers
|
|
|
|
|
|
|
|
|
6 |
optimum
|
7 |
-
|
8 |
-
|
9 |
-
# Real-ESRGAN dependencies
|
10 |
-
opencv-python-headless
|
11 |
-
basicsr
|
12 |
-
realesrgan
|
13 |
-
|
14 |
-
# Gradio and UI
|
15 |
gradio==4.29.0
|
16 |
-
gradio_imageslider
|
17 |
-
spaces # For HF Space specific features like @spaces.GPU
|
18 |
-
|
19 |
-
# Utilities
|
20 |
-
ftfy # Often used for text cleaning with CLIP/Transformers
|
21 |
-
beautifulsoup4 # If you use it elsewhere, otherwise potentially removable
|
22 |
-
|
23 |
-
# Diffusion (Potentially removable if ONLY using Real-ESRGAN now)
|
24 |
-
diffusers @ git+https://github.com/initml/diffusers.git@main
|
25 |
-
peft >= 0.6.0 # Usually for fine-tuning/LoRA, maybe not needed for just inference?
|
|
|
|
|
1 |
accelerate
|
2 |
+
diffusers @ git+https://github.com/initml/diffusers.git@main
|
3 |
+
torch==2.0.1
|
4 |
transformers >= 4.34.0
|
5 |
+
xformers
|
6 |
+
ftfy
|
7 |
+
spaces
|
8 |
+
peft >= 0.6.0
|
9 |
+
sentencepiece==0.2.0
|
10 |
optimum
|
11 |
+
beautifulsoup4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
gradio==4.29.0
|
13 |
+
gradio_imageslider
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|