mbishu commited on
Commit
fd2ad8b
·
1 Parent(s): ccc9c24

Track app/data/ directory with Git LFS for Hugging Face compatibility

Browse files
.gitattributes CHANGED
@@ -33,5 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
- app/data/products.db filter=lfs diff=lfs merge=lfs -text
 
37
  *.db filter=lfs diff=lfs merge=lfs -text
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ # Track entire app/data/ directory with LFS for Hugging Face compatibility
37
+ app/data/** filter=lfs diff=lfs merge=lfs -text
38
  *.db filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -51,30 +51,24 @@ venv.bak/
51
  .env.*.local
52
 
53
  # Data files
54
- # Ignore all .db files first
 
 
 
 
55
  *.db
56
- # Then specifically allow products.db (must come after the ignore pattern)
57
- !app/data/products.db
58
 
59
  *.sqlite
60
  *.sqlite3
61
- # Ignore other db files in app/data, but products.db is already allowed above
62
- app/data/*.npy
63
- app/data/*.pkl
64
- app/data/*.json
65
- app/data/chroma_db/
66
- app/data/**/chroma_db/
67
- app/data/**/vector_store/
68
  # Only ignore root-level data/ directory, not app/data/
69
  /data/
70
  *.csv
71
  !app/amazon.csv
72
 
73
- # Vector store data (should not be committed - generated at runtime)
74
- app/data/**/vector_store/
75
- **/chroma_db/
76
- **/chroma_data/
77
-
78
  # Model files and caches
79
  models/
80
  .cache/
@@ -84,8 +78,9 @@ __pycache__/
84
  *.pt
85
  *.onnx
86
 
87
- # Vector store data
88
  chroma_db/
 
89
  *.chroma/
90
  simple_vectorstore/
91
  vectors/
@@ -153,9 +148,10 @@ dmypy.json
153
  cython_debug/
154
 
155
  # Project-specific
156
- # Initialization state files
157
  init_state.json
158
  **/init_state.json
 
159
 
160
  # Image cache (if we implement it)
161
  image_cache/
 
51
  .env.*.local
52
 
53
  # Data files
54
+ # Track app/data/ with Git LFS (configured in .gitattributes)
55
+ # Allow all files in app/data/ to be tracked
56
+ !app/data/
57
+
58
+ # Ignore other .db files outside app/data/
59
  *.db
60
+ !app/data/**/*.db
 
61
 
62
  *.sqlite
63
  *.sqlite3
64
+ !app/data/**/*.sqlite
65
+ !app/data/**/*.sqlite3
66
+
 
 
 
 
67
  # Only ignore root-level data/ directory, not app/data/
68
  /data/
69
  *.csv
70
  !app/amazon.csv
71
 
 
 
 
 
 
72
  # Model files and caches
73
  models/
74
  .cache/
 
78
  *.pt
79
  *.onnx
80
 
81
+ # Vector store data (ignore except in app/data/)
82
  chroma_db/
83
+ !app/data/chroma_db/
84
  *.chroma/
85
  simple_vectorstore/
86
  vectors/
 
148
  cython_debug/
149
 
150
  # Project-specific
151
+ # Initialization state files (ignore except in app/data/)
152
  init_state.json
153
  **/init_state.json
154
+ !app/data/init_state.json
155
 
156
  # Image cache (if we implement it)
157
  image_cache/
app/data/api_keys.db ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd2c06a68174aca221eab8181394408af91d5303be77a776b4033257e3e6ad85
3
+ size 20480
app/data/chroma_db/chroma.sqlite3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:302bbe27d71f9ed27ac5d57db5599f87d64b3aec6d9ce27b8196ac0a947fa1a5
3
+ size 4091904
app/data/chroma_db/f3bc9337-c09f-4425-8d6e-0c2cc395ac73/data_level0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a81b76996ce66a9015935dc7ac7ab468491346d46afb29cc05ff2b8af6ac43d
3
+ size 321200
app/data/chroma_db/f3bc9337-c09f-4425-8d6e-0c2cc395ac73/header.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03cb3ac86f3e5bcb15e88b9bf99f760ec6b33e31d64a699e129b49868db6d733
3
+ size 100
app/data/chroma_db/f3bc9337-c09f-4425-8d6e-0c2cc395ac73/length.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8baff9ce8eb75ca4c70e4a1850beac35a784e201e9e2bfdda63d086b56c7ac45
3
+ size 400
app/data/chroma_db/f3bc9337-c09f-4425-8d6e-0c2cc395ac73/link_lists.bin ADDED
File without changes
app/data/init_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdf38d93f13497aa935cacad5030da59910fabcc9b760f1920b763b379a9bcec
3
+ size 79