Spaces:
Sleeping
Sleeping
Init Code Gradio Hello world
Browse files- src/app.py → app.py +0 -0
- requirements.txt +35 -0
src/app.py → app.py
RENAMED
|
File without changes
|
requirements.txt
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ==========================================
|
| 2 |
+
# FaceForge AI - ZeroGPU Gradio Requirements
|
| 3 |
+
# ==========================================
|
| 4 |
+
|
| 5 |
+
# Gradio & ZeroGPU (REQUIRED)
|
| 6 |
+
gradio==4.16.0
|
| 7 |
+
spaces==0.19.4
|
| 8 |
+
|
| 9 |
+
# Image Processing
|
| 10 |
+
Pillow==10.2.0
|
| 11 |
+
opencv-python-headless==4.9.0.80
|
| 12 |
+
numpy==1.26.3
|
| 13 |
+
|
| 14 |
+
# Background Removal
|
| 15 |
+
rembg[gpu]==2.0.57
|
| 16 |
+
|
| 17 |
+
# Face Enhancement (GPU)
|
| 18 |
+
gfpgan==1.3.8
|
| 19 |
+
realesrgan==0.3.0
|
| 20 |
+
basicsr==1.4.2
|
| 21 |
+
|
| 22 |
+
# PyTorch (GPU) - Critical for CUDA
|
| 23 |
+
torch==2.1.2
|
| 24 |
+
torchvision==0.16.2
|
| 25 |
+
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 26 |
+
|
| 27 |
+
# Core Dependencies
|
| 28 |
+
scipy==1.12.0
|
| 29 |
+
tqdm==4.66.1
|
| 30 |
+
facexlib==0.3.0
|
| 31 |
+
yapf==0.40.2
|
| 32 |
+
filterpy==1.4.5
|
| 33 |
+
|
| 34 |
+
# Optional: For better performance
|
| 35 |
+
# onnxruntime-gpu==1.17.0
|