Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +10 -48
requirements.txt
CHANGED
|
@@ -1,48 +1,10 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
opencv-python
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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.
|
| 25 |
-
# requirements.txt
|
| 26 |
-
|
| 27 |
-
# Base requirements for HF Spaces & Gradio
|
| 28 |
-
gradio # Add --upgrade flag
|
| 29 |
-
torch --index-url https://download.pytorch.org/whl/cpu
|
| 30 |
-
torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 31 |
-
|
| 32 |
-
# Image processing
|
| 33 |
-
opencv-python-headless
|
| 34 |
-
|
| 35 |
-
# CodeFormer and its dependencies
|
| 36 |
-
codeformer
|
| 37 |
-
# requirements.txt
|
| 38 |
-
|
| 39 |
-
# Base requirements for HF Spaces & Gradio
|
| 40 |
-
gradio==4.25.0 # Try pinning to a specific recent version (e.g., 4.25.0)
|
| 41 |
-
torch --index-url https://download.pytorch.org/whl/cpu
|
| 42 |
-
torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 43 |
-
|
| 44 |
-
# Image processing
|
| 45 |
-
opencv-python-headless
|
| 46 |
-
|
| 47 |
-
# CodeFormer and its dependencies
|
| 48 |
-
codeformer
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
torchvision
|
| 3 |
+
pillow
|
| 4 |
+
numpy
|
| 5 |
+
gradio>=3.25.0
|
| 6 |
+
requests
|
| 7 |
+
opencv-python
|
| 8 |
+
basicsr
|
| 9 |
+
facexlib
|
| 10 |
+
realesrgan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|