Skip to content

Commit 29f8326

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Allow .model extension for tokenizers. (#3637)
Summary: Pull Request resolved: #3637 . Reviewed By: kirklandsign Differential Revision: D57446798 fbshipit-source-id: 86c05d810d8795fe4732fc2ab649d745b6ad45be
1 parent 121b04c commit 29f8326

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
@@ -255,7 +255,7 @@ struct ContentView: View {
255255
case .model:
256256
return [UTType(filenameExtension: "pte")].compactMap { $0 }
257257
case .tokenizer:
258-
return [UTType(filenameExtension: "bin")].compactMap { $0 }
258+
return [UTType(filenameExtension: "bin"), UTType(filenameExtension: "model")].compactMap { $0 }
259259
}
260260
}
261261

0 commit comments

Comments
 (0)