Skip to content

Commit 8592c1d

Browse files
authored
Merge branch 'main' into reorder_Tasks
2 parents f408ecf + 4ec0384 commit 8592c1d

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

packages/hub/src/lib/list-files.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe("listFiles", () => {
7575
const files: ListFileEntry[] = [];
7676

7777
for await (const entry of cursor) {
78-
delete entry.security; // flaky
78+
delete entry.securityFileStatus; // flaky
7979
files.push(entry);
8080
}
8181

packages/hub/src/lib/list-files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ListFileEntry {
2828
/**
2929
* Only fetched if `expand` is set to `true` in the `listFiles` call.
3030
*/
31-
security?: unknown;
31+
securityFileStatus?: unknown;
3232
}
3333

3434
/**
@@ -48,7 +48,7 @@ export async function* listFiles(
4848
*/
4949
path?: string;
5050
/**
51-
* Fetch `lastCommit` and `securityStatus` for each file.
51+
* Fetch `lastCommit` and `securityFileStatus` for each file.
5252
*/
5353
expand?: boolean;
5454
revision?: string;

packages/hub/src/types/api/api-commit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface ApiLfsBatchRequest {
55
/**
66
* Optional object describing the server ref that the objects belong to. Note: Added in v2.4.
77
*
8-
* We use this object for QOL and to fail early for users when they're tring to push to the wrong reference.
8+
* We use this object for QOL and to fail early for users when they're trying to push to the wrong reference.
99
* But it does nothing for security.
1010
*/
1111
ref?: {

packages/tasks/src/tasks/image-segmentation/data.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ const taskData: TaskDataCustom = {
4444
models: [
4545
{
4646
// TO DO: write description
47-
description:
48-
"Solid semantic segmentation model trained on ADE20k.",
47+
description: "Solid semantic segmentation model trained on ADE20k.",
4948
id: "openmmlab/upernet-convnext-small",
5049
},
5150
{

packages/tasks/src/tasks/object-detection/data.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ const taskData: TaskDataCustom = {
5151
id: "jameslahm/yolov10x",
5252
},
5353
{
54-
description:
55-
"Fast and accurate object detection model trained on COCO and Object365 datasets.",
54+
description: "Fast and accurate object detection model trained on COCO and Object365 datasets.",
5655
id: "PekingU/rtdetr_r18vd_coco_o365",
5756
},
5857
],

packages/tasks/src/tasks/text-to-speech/data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const taskData: TaskDataCustom = {
5757
id: "suno/bark",
5858
},
5959
{
60-
description: "An application on XTTS, a voice generation model that lets you clone voices into different languages.",
60+
description:
61+
"An application on XTTS, a voice generation model that lets you clone voices into different languages.",
6162
id: "coqui/xtts",
6263
},
6364
{

0 commit comments

Comments
 (0)