Philippe Potvin commited on
Commit
a024ed4
·
1 Parent(s): 919dc2d

Refactor requirements: consolidate dependencies into requirements.txt and remove requirements_enhanced.txt

Browse files
Files changed (3) hide show
  1. .gitignore +2 -6
  2. requirements.txt +40 -24
  3. 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
- diffusers==0.38.0
5
-
6
- transformers
7
- accelerate
8
- safetensors
9
- sentencepiece
10
- dashscope
11
- kernels==0.11.0
12
- torchvision
13
- peft
14
- torchao==0.11.0
 
 
15
 
16
  # Image processing and upscaling
17
- spandrel
18
- spandrel_extra_arches
19
  Pillow
20
- numpy
21
 
22
- # Face restoration (REQUIRED for enhanced version)
23
- gfpgan
 
24
 
25
- # OpenCV for face detection (REQUIRED for enhanced version)
26
- opencv-python
 
27
 
28
- # SciPy for advanced image processing (optional fallback)
29
- scipy
 
30
 
31
  # Gradio and utilities
32
- gradio
33
- spaces
34
- huggingface_hub
 
 
 
 
 
 
 
 
 
 
 
 
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