Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
merveenoyan authored Jan 10, 2025
1 parent 27a6a73 commit a6760c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/tasks/src/model-libraries-snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ wavs = chat.infer(texts, )
torchaudio.save("output1.wav", torch.from_numpy(wavs[0]), 24000)`,
];

export const yolo = (model: ModelData): string[] => [
export const ultralytics = (model: ModelData): string[] => [
`from ultralytics import YOLOv8 # modify the yolo version here
model = YOLOv8.from_pretrained("${model.id}")
Expand Down
8 changes: 4 additions & 4 deletions packages/tasks/src/model-libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,14 +843,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
docsUrl: "https://github.com/jasonppy/VoiceCraft",
snippets: snippets.voicecraft,
},
yolov8: {
prettyLabel: "yolo",
repoName: "yolo",
ultralyrics: {
prettyLabel: "ultralyrics",
repoName: "ultralyrics",
repoUrl: "https://github.com/ultralytics/ultralytics",
docsUrl: "https://github.com/ultralytics/ultralytics",
filter: false,
countDownloads: `path_extension:"pt"`,
snippets: snippets.yolo,
snippets: snippets.ultralyrics,
},
yolov10: {
prettyLabel: "YOLOv10",
Expand Down

0 comments on commit a6760c6

Please sign in to comment.