Update .gitattributes
Browse files- .gitattributes +8 -6
.gitattributes
CHANGED
@@ -1,27 +1,29 @@
|
|
|
|
1 |
pneumonia_cnn_model.h5 filter=lfs diff=lfs merge=lfs -text
|
|
|
2 |
# Treat Python files as text and ensure correct line endings
|
3 |
*.py text eol=lf
|
4 |
|
5 |
-
# Gradio config files and
|
6 |
*.json text eol=lf
|
7 |
*.txt text eol=lf
|
8 |
README.md text eol=lf
|
9 |
|
10 |
-
#
|
11 |
*.h5 binary
|
12 |
*.hdf5 binary
|
13 |
|
14 |
-
#
|
15 |
*.png binary
|
16 |
*.jpg binary
|
17 |
*.jpeg binary
|
18 |
|
19 |
-
# Ignore
|
20 |
*.ipynb linguist-generated=true
|
21 |
|
22 |
-
# Shell scripts
|
23 |
*.sh text eol=lf
|
24 |
|
25 |
-
# YAML
|
26 |
*.yaml text eol=lf
|
27 |
*.yml text eol=lf
|
|
|
1 |
+
# Use Git LFS for large binary model files
|
2 |
pneumonia_cnn_model.h5 filter=lfs diff=lfs merge=lfs -text
|
3 |
+
|
4 |
# Treat Python files as text and ensure correct line endings
|
5 |
*.py text eol=lf
|
6 |
|
7 |
+
# Gradio config files and metadata
|
8 |
*.json text eol=lf
|
9 |
*.txt text eol=lf
|
10 |
README.md text eol=lf
|
11 |
|
12 |
+
# Other binary model files
|
13 |
*.h5 binary
|
14 |
*.hdf5 binary
|
15 |
|
16 |
+
# Images (optional)
|
17 |
*.png binary
|
18 |
*.jpg binary
|
19 |
*.jpeg binary
|
20 |
|
21 |
+
# Ignore notebook diffs (optional)
|
22 |
*.ipynb linguist-generated=true
|
23 |
|
24 |
+
# Shell scripts
|
25 |
*.sh text eol=lf
|
26 |
|
27 |
+
# YAML config
|
28 |
*.yaml text eol=lf
|
29 |
*.yml text eol=lf
|