Spaces:
Running
Running
prodya-dev commited on
Commit ·
8d7e284
1
Parent(s): bca7f9c
fix: pin python_version=3.10 in Space README (torch 2.1.x has no py3.13 wheel)
Browse files- README.md +1 -0
- requirements.txt +2 -2
README.md
CHANGED
|
@@ -8,6 +8,7 @@ sdk_version: "4.44.0"
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Morphaze Avatar Preprocessor
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
python_version: "3.10"
|
| 12 |
---
|
| 13 |
|
| 14 |
# Morphaze Avatar Preprocessor
|
requirements.txt
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
# Morphaze HuggingFace Space — ReStyle + GFPGAN Avatar Preprocessing
|
| 2 |
-
#
|
| 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
|
|
|
|
| 1 |
# Morphaze HuggingFace Space — ReStyle + GFPGAN Avatar Preprocessing
|
| 2 |
+
# Python 3.10 required (see README python_version) — torch 2.1.x not on py3.13
|
| 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 for py3.10 + torch 2.1)
|
| 9 |
basicsr==1.4.2
|
| 10 |
facexlib==0.3.0
|
| 11 |
gfpgan==1.3.8
|