Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update utils/datas/api_collections.ts
Browse files
utils/datas/api_collections.ts
CHANGED
@@ -14,13 +14,17 @@ export const API_COLLECTIONS: Array<ApiCollection> = [{
|
|
14 |
direction: "",
|
15 |
limit: 5,
|
16 |
full: true,
|
17 |
-
config: true
|
|
|
|
|
18 |
},
|
19 |
tooltips: {
|
20 |
search: "Filter based on substrings for repos and their usernames, such as resnet or microsoft",
|
21 |
full: "Whether to fetch most model data, such as all tags, the files, etc.",
|
22 |
config: "Whether to also fetch the repo config.",
|
23 |
-
filter: "Filter based on tags, such as text-classification or spacy."
|
|
|
|
|
24 |
}
|
25 |
}, {
|
26 |
method: 'GET',
|
|
|
14 |
direction: "",
|
15 |
limit: 5,
|
16 |
full: true,
|
17 |
+
config: true,
|
18 |
+
inference_provider: "",
|
19 |
+
expand[]: ""
|
20 |
},
|
21 |
tooltips: {
|
22 |
search: "Filter based on substrings for repos and their usernames, such as resnet or microsoft",
|
23 |
full: "Whether to fetch most model data, such as all tags, the files, etc.",
|
24 |
config: "Whether to also fetch the repo config.",
|
25 |
+
filter: "Filter based on tags, such as text-classification or spacy.",
|
26 |
+
inference_provider: "Filter based on the available inference providers for the model (https://huggingface.co/docs/huggingface_hub/en/guides/inference#supported-providers-and-tasks).",
|
27 |
+
expand[]: "Expand the model attributes. For example, you can get the supported provides with 'expand[]=inferenceProviderMapping'.",
|
28 |
}
|
29 |
}, {
|
30 |
method: 'GET',
|