MogensR commited on
Commit
754e90e
·
1 Parent(s): d7fc55f

Update .gitignore

Browse files
Files changed (1) hide show
  1. .gitignore +157 -15
.gitignore CHANGED
@@ -20,10 +20,12 @@ parts/
20
  sdist/
21
  var/
22
  wheels/
 
23
  *.egg-info/
24
  .installed.cfg
25
  *.egg
26
  MANIFEST
 
27
 
28
  # PyInstaller
29
  *.manifest
@@ -32,14 +34,17 @@ MANIFEST
32
  # Unit test / coverage reports
33
  htmlcov/
34
  .tox/
 
35
  .coverage
36
  .coverage.*
37
  .cache
38
  nosetests.xml
39
  coverage.xml
40
  *.cover
 
41
  .hypothesis/
42
  .pytest_cache/
 
43
 
44
  # Environments
45
  .env
@@ -49,12 +54,19 @@ venv/
49
  ENV/
50
  env.bak/
51
  venv.bak/
 
52
 
53
  # IDE files
54
  .idea/
55
  .vscode/
56
  *.swp
57
  *.swo
 
 
 
 
 
 
58
 
59
  # OS generated files
60
  .DS_Store
@@ -64,56 +76,186 @@ venv.bak/
64
  .Trashes
65
  ehthumbs.db
66
  Thumbs.db
 
67
 
68
  # Logs
69
  *.log
70
  logs/
 
 
71
 
72
- # Video Background Replacement specific files
73
- # Model cache and downloads
74
- /tmp/model_cache/
 
 
 
 
 
 
 
75
  model_cache/
76
- *.pt
77
- *.pth
78
- *.ckpt
79
- *.safetensors
 
 
80
 
81
- # Large video files (use git-lfs if needed)
82
  *.mp4
83
  *.avi
84
  *.mov
85
  *.mkv
86
  *.webm
87
  *.flv
 
 
88
 
89
- # Large image files
90
  *.jpg
91
  *.jpeg
92
  *.png
93
  *.gif
94
  *.bmp
95
  *.tiff
 
 
 
 
 
 
 
 
 
96
 
97
  # Processing temporary files
98
  /tmp/
99
  temp/
 
 
100
  processing_*
101
  output_*
102
  greenscreen_*
103
  final_*
104
 
105
- # Hugging Face cache
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  .cache/
107
  huggingface/
 
 
108
 
109
- # Application specific
110
  gradio_cached_examples/
111
  flagged/
112
- app.log
113
- processing.log
114
- error.log
 
 
 
 
115
 
116
  # Configuration with secrets
117
  config_local.py
 
 
118
  .secrets
119
- .env.local
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  sdist/
21
  var/
22
  wheels/
23
+ share/python-wheels/
24
  *.egg-info/
25
  .installed.cfg
26
  *.egg
27
  MANIFEST
28
+ pip-wheel-metadata/
29
 
30
  # PyInstaller
31
  *.manifest
 
34
  # Unit test / coverage reports
35
  htmlcov/
36
  .tox/
37
+ .nox/
38
  .coverage
39
  .coverage.*
40
  .cache
41
  nosetests.xml
42
  coverage.xml
43
  *.cover
44
+ *.py,cover
45
  .hypothesis/
46
  .pytest_cache/
47
+ cover/
48
 
49
  # Environments
50
  .env
 
54
  ENV/
55
  env.bak/
56
  venv.bak/
57
+ .python-version
58
 
59
  # IDE files
60
  .idea/
61
  .vscode/
62
  *.swp
63
  *.swo
64
+ *~
65
+ .project
66
+ .pydevproject
67
+ .settings/
68
+ *.sublime-project
69
+ *.sublime-workspace
70
 
71
  # OS generated files
72
  .DS_Store
 
76
  .Trashes
77
  ehthumbs.db
78
  Thumbs.db
79
+ desktop.ini
80
 
81
  # Logs
82
  *.log
83
  logs/
84
+ *.log.*
85
+ logs/archive/
86
 
87
+ # BackgroundFX Pro specific
88
+
89
+ # Model files and cache
90
+ models/weights/*.pt
91
+ models/weights/*.pth
92
+ models/weights/*.ckpt
93
+ models/weights/*.safetensors
94
+ models/weights/*.bin
95
+ models/checkpoints/
96
+ models/cache/
97
  model_cache/
98
+ /tmp/model_cache/
99
+
100
+ # Don't ignore model definitions
101
+ !models/**/*.py
102
+ !models/loaders/
103
+ !models/configs/
104
 
105
+ # Large media files (use git-lfs if needed)
106
  *.mp4
107
  *.avi
108
  *.mov
109
  *.mkv
110
  *.webm
111
  *.flv
112
+ *.wmv
113
+ *.m4v
114
 
115
+ # Large image files (be selective)
116
  *.jpg
117
  *.jpeg
118
  *.png
119
  *.gif
120
  *.bmp
121
  *.tiff
122
+ *.tif
123
+
124
+ # But keep essential assets
125
+ !web/static/assets/**/*.png
126
+ !web/static/assets/**/*.jpg
127
+ !web/static/icons/
128
+ !docs/images/
129
+ !examples/sample_*.png
130
+ !examples/sample_*.jpg
131
 
132
  # Processing temporary files
133
  /tmp/
134
  temp/
135
+ processing/temp/
136
+ processing/cache/
137
  processing_*
138
  output_*
139
  greenscreen_*
140
  final_*
141
 
142
+ # API temporary files
143
+ api/temp/
144
+ api/cache/
145
+ api/uploads/
146
+
147
+ # Web application files
148
+ web/temp/
149
+ web/cache/
150
+ web/uploads/
151
+ web/sessions/
152
+ web/static/temp/
153
+
154
+ # CLI temporary files
155
+ cli/temp/
156
+ cli/cache/
157
+
158
+ # Docker volumes (local development)
159
+ docker/volumes/
160
+ docker/data/
161
+
162
+ # Hugging Face and model caches
163
  .cache/
164
  huggingface/
165
+ .huggingface/
166
+ transformers_cache/
167
 
168
+ # Gradio specific
169
  gradio_cached_examples/
170
  flagged/
171
+ gradio_temp/
172
+
173
+ # Database files
174
+ *.db
175
+ *.sqlite
176
+ *.sqlite3
177
+ *.sql.backup
178
 
179
  # Configuration with secrets
180
  config_local.py
181
+ config/local/
182
+ config/secrets/
183
  .secrets
184
+ .env.local
185
+ .env.production
186
+ .env.development
187
+ *.key
188
+ *.pem
189
+ *.cert
190
+
191
+ # Backup files
192
+ *.bak
193
+ *.backup
194
+ *.old
195
+ *.orig
196
+
197
+ # Test outputs
198
+ tests/outputs/
199
+ tests/temp/
200
+ tests/reports/
201
+
202
+ # Scripts outputs
203
+ scripts/outputs/
204
+ scripts/temp/
205
+ scripts/logs/
206
+
207
+ # Documentation build
208
+ docs/_build/
209
+ docs/.doctrees/
210
+ site/
211
+
212
+ # Node modules (if web components use them)
213
+ node_modules/
214
+ npm-debug.log*
215
+ yarn-debug.log*
216
+ yarn-error.log*
217
+ .pnpm-debug.log*
218
+ package-lock.json
219
+ yarn.lock
220
+
221
+ # Python virtual environment files
222
+ pyvenv.cfg
223
+ pip-log.txt
224
+ pip-delete-this-directory.txt
225
+
226
+ # Jupyter Notebook
227
+ .ipynb_checkpoints
228
+ *.ipynb
229
+
230
+ # mypy
231
+ .mypy_cache/
232
+ .dmypy.json
233
+ dmypy.json
234
+
235
+ # Pyre type checker
236
+ .pyre/
237
+
238
+ # pytype static type analyzer
239
+ .pytype/
240
+
241
+ # Cython debug symbols
242
+ cython_debug/
243
+
244
+ # Legacy folders (during migration)
245
+ Configs/backup/
246
+ Logs/archive/
247
+ old_structure/
248
+
249
+ # Performance profiling
250
+ *.prof
251
+ *.lprof
252
+ .benchmarks/
253
+
254
+ # System files
255
+ core
256
+ core.*
257
+ *.stackdump
258
+
259
+ # Editor backup files
260
+ \#*\#
261
+ .\#*