Create requirements.txt
Browse files- requirements.txt +20 -0
requirements.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- Core Gradio Web UI ---
|
| 2 |
+
gradio>=5.0.0
|
| 3 |
+
|
| 4 |
+
# --- OpenAI API Integration ---
|
| 5 |
+
openai>=1.0.0
|
| 6 |
+
python-dotenv>=1.0.0
|
| 7 |
+
|
| 8 |
+
# --- Image Processing & Compositing ---
|
| 9 |
+
Pillow>=10.0.0
|
| 10 |
+
numpy>=1.24.0
|
| 11 |
+
|
| 12 |
+
# --- Computer Vision Engine (BiRefNet & PyTorch CPU) ---
|
| 13 |
+
# We force the CPU version of Torch to keep the Hugging Face Space lightweight
|
| 14 |
+
--find-links https://download.pytorch.org/whl/cpu
|
| 15 |
+
torch>=2.0.0
|
| 16 |
+
torchvision>=0.15.0
|
| 17 |
+
|
| 18 |
+
# Hugging Face Hub library to pull model weights dynamically
|
| 19 |
+
huggingface-hub>=0.19.0
|
| 20 |
+
requests>=2.31.0
|