new features

This commit is contained in:
Mark Gregory
2026-11-19 09:25:52 +00:00
parent 0720c8a18b
commit d0cf741c08
4 changed files with 32 additions and 10 deletions
+3 -2
View File
@@ -216,9 +216,10 @@ struct CoreMLModels: View {
ForEach(results) { result in
HubRepositoryRow(result: result, format: "Core ML") {
if result.id == CoreMLDownloads.repository {
Button("View Files") { showingAppleFiles = true }
Button("Choose Download…") { showingAppleFiles = true }
} else {
Link("View Files", destination: URL(string: "https://huggingface.co")!.appending(path: result.id))
Link("Download Files…", destination: URL(string: "https://huggingface.co")!.appending(path: result.id).appending(path: "tree/main"))
.help("Open this model’s downloadable files on Hugging Face.")
}
}
}