[Feature] Load Model AllowList JSON from Local
When attempting to load the Gallery app on a device with no internet connection, a fatal error appears which prevents users from using the app. Screenshot below. Error: "Failed to load model list. Please check your internet connection and try again later."
It would be great if the Gallery app would load the model_allowlists.json (currently model_allowlists/1_0_4.json) provided within the repository, rather than reaching back out to GitHub. This would enable users to load the Gallery app without connecting to the internet.
An alternative could be to allow the user to acknowledge the failure to load model list, then proceed to the app so they can load models from the local storage. Currently, the user can only select "retry" in the error window.
This was a pretty easy fix, so I implemented it myself.
Tried pushing the code to this repo then realized it is not accepting contributions at this time (lame). Decided to fork the repo to my account and push the changes there.
https://github.com/Ivan2getdmodelz/gallery/tree/load-model-allowlist-from-local
Hi @Ivan2getdmodelz,
Thank you for this excellent feature request and for taking the impressive initiative to implement a solution in your fork.
We appreciate you sharing your feedback on current contribution policy. Your implementation will be a very helpful reference for our team as we review this request.
Thanks again for your proactive contribution and valuable input!