You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a frontend with React that can serve sentence bert directly in browser, but no idea why even i add the line env.allowLocalModels = false
before pipeline loading the model. In the production environment, it's still trying to access model locally /models/..., but which will never exists in this usecase.
Is there any way i can bypass this check and directly pull the model from remote?
The text was updated successfully, but these errors were encountered:
If you didn't initially set env.allowLocalModels = false, the data read from localhost/models/ will be saved to the browser cache, continuously leading to JSON parsing errors, even if you subsequently set env.allowLocalModels = false. You must manually clear the cache.
my codes:
I'm building a frontend with React that can serve sentence bert directly in browser, but no idea why even i add the line
env.allowLocalModels = false
before pipeline loading the model. In the production environment, it's still trying to access model locally
/models/...
, but which will never exists in this usecase.Is there any way i can bypass this check and directly pull the model from remote?
The text was updated successfully, but these errors were encountered: