transformers.js
c536857e - Return buffer instead of file_path if cache unavailable for model loading (#1280)

Commit
1 year ago
Return buffer instead of file_path if cache unavailable for model loading (#1280) * Return buffer if cache unavailable for model file loading * Minor cleanup * Add back check * Actually, original approach was better * Support custom cache returning response or path --------- Co-authored-by: Joshua Lochner <26504141+xenova@users.noreply.github.com>
Author
Parents
Loading