Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +12 -0
requirements.txt
CHANGED
|
@@ -22,3 +22,15 @@ codeformer
|
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 --upgrade # 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
|