Spaces:
Runtime error
Runtime error
Philippe Potvin commited on
Commit ·
a024ed4
1
Parent(s): 919dc2d
Refactor requirements: consolidate dependencies into requirements.txt and remove requirements_enhanced.txt
Browse files- .gitignore +2 -6
- requirements.txt +40 -24
- requirements_enhanced.txt +0 -50
.gitignore
CHANGED
|
@@ -33,12 +33,6 @@ wheels/
|
|
| 33 |
.installed.cfg
|
| 34 |
*.egg
|
| 35 |
|
| 36 |
-
# Model files (if you don't want to track large files)
|
| 37 |
-
*.pt
|
| 38 |
-
*.pth
|
| 39 |
-
*.bin
|
| 40 |
-
*.safetensors
|
| 41 |
-
|
| 42 |
# OS files
|
| 43 |
.DS_Store
|
| 44 |
Thumbs.db
|
|
@@ -56,3 +50,5 @@ htmlcov/
|
|
| 56 |
*.backup
|
| 57 |
*.bak
|
| 58 |
.claude/
|
|
|
|
|
|
|
|
|
| 33 |
.installed.cfg
|
| 34 |
*.egg
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
# OS files
|
| 37 |
.DS_Store
|
| 38 |
Thumbs.db
|
|
|
|
| 50 |
*.backup
|
| 51 |
*.bak
|
| 52 |
.claude/
|
| 53 |
+
|
| 54 |
+
models/
|
requirements.txt
CHANGED
|
@@ -1,34 +1,50 @@
|
|
| 1 |
-
# Pro Realism Edit Studio - Enhanced Edition
|
| 2 |
# ====================================================
|
| 3 |
# Core dependencies
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
| 15 |
|
| 16 |
# Image processing and upscaling
|
| 17 |
-
|
| 18 |
-
|
| 19 |
Pillow
|
| 20 |
-
|
| 21 |
|
| 22 |
-
# Face restoration (
|
| 23 |
-
gfpgan
|
|
|
|
| 24 |
|
| 25 |
-
# OpenCV for face detection (
|
| 26 |
-
opencv-python
|
|
|
|
| 27 |
|
| 28 |
-
# SciPy for advanced image processing (
|
| 29 |
-
scipy
|
|
|
|
| 30 |
|
| 31 |
# Gradio and utilities
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pro Realism Edit Studio - Enhanced Edition Requirements
|
| 2 |
# ====================================================
|
| 3 |
# Core dependencies
|
| 4 |
+
Torch
|
| 5 |
+
Torchvision
|
| 6 |
+
Transformers
|
| 7 |
+
Accelerate
|
| 8 |
+
Safetensors
|
| 9 |
+
Sentencepiece
|
| 10 |
+
Diffusers==0.38.0
|
| 11 |
+
|
| 12 |
+
# Qwen-Image specific
|
| 13 |
+
Dashscope
|
| 14 |
+
Kernels==0.11.0
|
| 15 |
+
Peft
|
| 16 |
+
Torchao==0.11.0
|
| 17 |
|
| 18 |
# Image processing and upscaling
|
| 19 |
+
Spandrel
|
| 20 |
+
Spandrel_extra_arches
|
| 21 |
Pillow
|
| 22 |
+
Numpy
|
| 23 |
|
| 24 |
+
# Face restoration (optional but recommended)
|
| 25 |
+
# Install with: pip install gfpgan
|
| 26 |
+
# gfpgan>=1.0.0
|
| 27 |
|
| 28 |
+
# OpenCV for face detection (optional)
|
| 29 |
+
# Install with: pip install opencv-python
|
| 30 |
+
# opencv-python>=4.5.0
|
| 31 |
|
| 32 |
+
# SciPy for advanced image processing (fallback for face detection)
|
| 33 |
+
# Install with: pip install scipy
|
| 34 |
+
# scipy>=1.7.0
|
| 35 |
|
| 36 |
# Gradio and utilities
|
| 37 |
+
Gradio
|
| 38 |
+
Spaces
|
| 39 |
+
Huggingface_hub
|
| 40 |
+
Gradio_client
|
| 41 |
+
|
| 42 |
+
# For video generation (optional)
|
| 43 |
+
# Install with: pip install tempfile
|
| 44 |
+
|
| 45 |
+
# Performance monitoring (optional)
|
| 46 |
+
# Install with: pip install psutil
|
| 47 |
+
|
| 48 |
+
# Note: For full functionality, run:
|
| 49 |
+
# pip install -r requirements_enhanced.txt
|
| 50 |
+
# pip install gfpgan opencv-python scipy
|
requirements_enhanced.txt
DELETED
|
@@ -1,50 +0,0 @@
|
|
| 1 |
-
# Pro Realism Edit Studio - Enhanced Edition Requirements
|
| 2 |
-
# ====================================================
|
| 3 |
-
# Core dependencies
|
| 4 |
-
Torch
|
| 5 |
-
Torchvision
|
| 6 |
-
Transformers
|
| 7 |
-
Accelerate
|
| 8 |
-
Safetensors
|
| 9 |
-
Sentencepiece
|
| 10 |
-
Diffusers==0.38.0
|
| 11 |
-
|
| 12 |
-
# Qwen-Image specific
|
| 13 |
-
Dashscope
|
| 14 |
-
Kernels==0.11.0
|
| 15 |
-
Peft
|
| 16 |
-
Torchao==0.11.0
|
| 17 |
-
|
| 18 |
-
# Image processing and upscaling
|
| 19 |
-
Spandrel
|
| 20 |
-
Spandrel_extra_arches
|
| 21 |
-
Pillow
|
| 22 |
-
Numpy
|
| 23 |
-
|
| 24 |
-
# Face restoration (optional but recommended)
|
| 25 |
-
# Install with: pip install gfpgan
|
| 26 |
-
# gfpgan>=1.0.0
|
| 27 |
-
|
| 28 |
-
# OpenCV for face detection (optional)
|
| 29 |
-
# Install with: pip install opencv-python
|
| 30 |
-
# opencv-python>=4.5.0
|
| 31 |
-
|
| 32 |
-
# SciPy for advanced image processing (fallback for face detection)
|
| 33 |
-
# Install with: pip install scipy
|
| 34 |
-
# scipy>=1.7.0
|
| 35 |
-
|
| 36 |
-
# Gradio and utilities
|
| 37 |
-
Gradio
|
| 38 |
-
Spaces
|
| 39 |
-
Huggingface_hub
|
| 40 |
-
Gradio_client
|
| 41 |
-
|
| 42 |
-
# For video generation (optional)
|
| 43 |
-
# Install with: pip install tempfile
|
| 44 |
-
|
| 45 |
-
# Performance monitoring (optional)
|
| 46 |
-
# Install with: pip install psutil
|
| 47 |
-
|
| 48 |
-
# Note: For full functionality, run:
|
| 49 |
-
# pip install -r requirements_enhanced.txt
|
| 50 |
-
# pip install gfpgan opencv-python scipy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|