Skip to content

Commit b2eac7d

Browse files
authored
Allow tokenizer.json to be recognized in llama ios app (#10591)
1 parent f2c4bcd commit b2eac7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ struct ContentView: View {
465465
case .model:
466466
return [UTType(filenameExtension: "pte")].compactMap { $0 }
467467
case .tokenizer:
468-
return [UTType(filenameExtension: "bin"), UTType(filenameExtension: "model")].compactMap { $0 }
468+
return [UTType(filenameExtension: "bin"), UTType(filenameExtension: "model"), UTType(filenameExtension: "json"), ].compactMap { $0 }
469469
}
470470
}
471471

0 commit comments

Comments
 (0)