Open akau16 opened 2 months ago
Hi @akau16,
Could you please review the Stack Overflow thread https://stackoverflow.com/questions/5074680/chrome-safari-errornot-allowed-to-load-local-resource-file-d-css-style and try the suggested solution? Let us know if you still need further assistance.
Thank you!!
Hi kuaashish:
Thanks for your kindly reply, I think my problem is a little different with it. Above is my code.
LlmInference .createFromOptions(genaiFileset, { baseOptions: {modelAssetPath:'D:/model/gemma-2b-it-gpu-int4.bin'}, .....
and it will show the error Not allowed to load local resource: file:///D:/model/gemma-2b-it-gpu-int4.bin", how can I resolve the problem? thank you
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Firebase Hosting
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
/llm_inference /js/
Programming Language and version (e.g. C++, Python, Java)
html, javascript
Describe the actual behavior
can not access local model file
Describe the expected behaviour
can access model file
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
No response