Spaces:
Running
Running
prodya-dev commited on
Commit ·
bca7f9c
1
Parent(s): d986a84
fix: pin numpy<2.0 and exact gfpgan/basicsr versions to fix build
Browse files- requirements.txt +10 -14
requirements.txt
CHANGED
|
@@ -1,16 +1,12 @@
|
|
| 1 |
# Morphaze HuggingFace Space — ReStyle + GFPGAN Avatar Preprocessing
|
| 2 |
-
#
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
Pillow
|
| 8 |
-
numpy
|
| 9 |
opencv-python-headless
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
gfpgan
|
| 14 |
-
|
| 15 |
-
realesrgan>=0.3
|
| 16 |
-
facexlib>=0.3
|
|
|
|
| 1 |
# Morphaze HuggingFace Space — ReStyle + GFPGAN Avatar Preprocessing
|
| 2 |
+
# Pinned for compatibility: numpy<2 required by basicsr/facexlib/gfpgan
|
| 3 |
+
torch==2.1.2
|
| 4 |
+
torchvision==0.16.2
|
| 5 |
+
Pillow>=9.0
|
| 6 |
+
numpy<2.0
|
|
|
|
|
|
|
| 7 |
opencv-python-headless
|
| 8 |
+
# GFPGAN + dependencies (pinned to known-working set)
|
| 9 |
+
basicsr==1.4.2
|
| 10 |
+
facexlib==0.3.0
|
| 11 |
+
gfpgan==1.3.8
|
| 12 |
+
realesrgan==0.3.0
|
|
|
|
|
|