Skip to content

Commit

Permalink
feat(example): filter GGUF model files (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmashinFries authored Nov 3, 2023
1 parent ce7f9e4 commit 0fa4ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function App() {
}

const handlePickModel = async () => {
DocumentPicker.pick() // TODO: Is there a way to filter GGUF model files?
DocumentPicker.pick({type: Platform.OS === 'ios' ? 'public.data' : 'application/octet-stream'})
.then(async (res) => {
let [file] = res
if (file) {
Expand Down

0 comments on commit 0fa4ee6

Please sign in to comment.