Skip to content

Commit 8514765

Browse files
authored
[CI] lint & format (#1383)
1 parent 4c37e9e commit 8514765

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/tasks/src/hardware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const SKUS = {
153153
memory: [16],
154154
},
155155
"RTX 5060 Ti": {
156-
tflops: 23.70, // source https://www.techpowerup.com/gpu-specs/geforce-rtx-5060-ti.c4246
156+
tflops: 23.7, // source https://www.techpowerup.com/gpu-specs/geforce-rtx-5060-ti.c4246
157157
memory: [16, 8],
158158
},
159159
"RTX 5060": {

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,12 @@ model = pe.CLIP.from_config("${model.id}", pretrained=True)`;
702702
import core.vision_encoder.pe as pe
703703
704704
model = pe.VisionTransformer.from_config("${model.id}", pretrained=True)`;
705-
706-
if (model.id.includes("Core"))
705+
706+
if (model.id.includes("Core")) {
707707
return [clip_model, vision_encoder];
708-
else
708+
} else {
709709
return [vision_encoder];
710+
}
710711
};
711712

712713
export const pyannote_audio_pipeline = (model: ModelData): string[] => [

packages/tasks/src/tasks/any-to-any/data.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const taskData: TaskDataCustom = {
99
],
1010
demo: {
1111
inputs: [
12-
{
12+
{
1313
filename: "any-to-any-input.jpg",
1414
type: "img",
1515
},
@@ -26,7 +26,7 @@ const taskData: TaskDataCustom = {
2626
"The place in the picture is Osaka Castle, located in Osaka, Japan. Osaka Castle is a historic castle that was originally built in the 16th century by Toyotomi Hideyoshi, a powerful warlord of the time. It is one of the most famous landmarks in Osaka and is known for its distinctive white walls and black roof tiles. The castle has been rebuilt several times over the centuries and is now a popular tourist attraction, offering visitors a glimpse into Japan's rich history and culture.",
2727
type: "text",
2828
},
29-
{
29+
{
3030
filename: "any-to-any-output.wav",
3131
type: "audio",
3232
},
@@ -57,8 +57,7 @@ const taskData: TaskDataCustom = {
5757
id: "deepseek-ai/Janus-Pro-7B",
5858
},
5959
],
60-
summary:
61-
"Any-to-any models can understand two or more modalities and output two or more modalities.",
60+
summary: "Any-to-any models can understand two or more modalities and output two or more modalities.",
6261
widgetModels: [],
6362
youtubeId: "",
6463
};

0 commit comments

Comments
 (0)