Create config.json
Browse files- config.json +20 -0
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
filter: [
|
2 |
+
{
|
3 |
+
bool: {
|
4 |
+
/// Include documents that match at least one of the following rules
|
5 |
+
should: [
|
6 |
+
/// Downloaded from diffusers lib
|
7 |
+
{
|
8 |
+
term: { path: "model_index.json" },
|
9 |
+
},
|
10 |
+
/// Direct downloads (LoRa, Auto1111 and others)
|
11 |
+
/// Filter out nested safetensors and pickle weights to avoid double counting downloads from the diffusers lib
|
12 |
+
{
|
13 |
+
regexp: { path: "[^/]*\\.safetensors" },
|
14 |
+
},
|
15 |
+
],
|
16 |
+
minimum_should_match: 1,
|
17 |
+
},
|
18 |
+
},
|
19 |
+
]
|
20 |
+
}
|