Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +24 -15
requirements.txt
CHANGED
|
@@ -1,15 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Base requirements for HF Spaces & Gradio
|
| 2 |
+
gradio
|
| 3 |
+
torch --index-url https://download.pytorch.org/whl/cpu # Force CPU version of PyTorch
|
| 4 |
+
torchvision --index-url https://download.pytorch.org/whl/cpu # Force CPU version of Torchvision
|
| 5 |
+
|
| 6 |
+
# Image processing
|
| 7 |
+
opencv-python-headless
|
| 8 |
+
|
| 9 |
+
# CodeFormer and its dependencies
|
| 10 |
+
# Installing directly from GitHub often ensures latest fixes
|
| 11 |
+
# facexlib # Usually installed by CodeFormer/GFPGAN
|
| 12 |
+
# gfpgan # Usually installed by CodeFormer
|
| 13 |
+
codeformer
|
| 14 |
+
|
| 15 |
+
# Optional: if the pip package 'codeformer' has issues, you might need to install dependencies manually
|
| 16 |
+
# basicsr
|
| 17 |
+
# yapf
|
| 18 |
+
# lmdb
|
| 19 |
+
# Pillow
|
| 20 |
+
# requests
|
| 21 |
+
# tqdm
|
| 22 |
+
|
| 23 |
+
# Note: Dependencies can sometimes be tricky. If 'codeformer' install fails,
|
| 24 |
+
# you might need to list its specific dependencies here based on its setup.py or requirements.
|