|
@@ -1,18 +1,21 @@
|
|
|
-# Model files
|
|
|
|
|
-/models/
|
|
|
|
|
-*.gguf
|
|
|
|
|
|
|
+# Exclude everything first
|
|
|
|
|
+*
|
|
|
|
|
|
|
|
-# Logs and cache
|
|
|
|
|
-/logs/
|
|
|
|
|
-/logs/*.json
|
|
|
|
|
-*.log
|
|
|
|
|
|
|
+# Then include only what we want
|
|
|
|
|
+!main.py
|
|
|
|
|
+!README.md
|
|
|
|
|
+!models/
|
|
|
|
|
+!models/llama-2-7b-chat.gguf.dummy
|
|
|
|
|
|
|
|
-# Gradio and Python
|
|
|
|
|
-/.gradio/
|
|
|
|
|
|
|
+# Exclude the actual model file
|
|
|
|
|
+models/llama-2-7b-chat.gguf
|
|
|
|
|
+
|
|
|
|
|
+# Exclude unwanted directories and files
|
|
|
|
|
+.gradio/
|
|
|
__pycache__/
|
|
__pycache__/
|
|
|
|
|
+config/
|
|
|
|
|
+logs/
|
|
|
*.pyc
|
|
*.pyc
|
|
|
*.pem
|
|
*.pem
|
|
|
-
|
|
|
|
|
-# System files
|
|
|
|
|
.DS_Store
|
|
.DS_Store
|
|
|
-Thumbs.db
|
|
|
|
|
|
|
+Thumbs.db
|