Closed ishanvohra2 closed 1 month ago
It looks like your application is having trouble finding the model in the specified file path. Can you make sure that the model file exists in the specified path, and there aren't any typos?
If that's not the issue, please also give our android demo a try and see if you can reproduce the issue.
Note: as demonstrated in our android demo here, the model file needs to be copied over to the application directory, since Android 11+ cannot directly open files from Downloads
or any other external storage directory.
I'm going to close this issue for now, please feel free to re-open if the issue persists.
Have you checked the docs and existing issues?
SDK
Android
picoLLM package version
1.0.0
Framework version
Android
Platform
Android
OS/Browser version
Android 14.0
Describe the bug
While calling PicoLLM.Builder().setAccessKey(accessKey).setModelPath(modelPath).build(), the library is throwing an error saying that it cannot load the specified model. The stacktrace is as follows: