huggingface.js icon indicating copy to clipboard operation
huggingface.js copied to clipboard

Rm `LocalAppSnippet.setup`

Open mishig25 opened this issue 1 year ago • 0 comments

Follow up to https://github.com/huggingface/huggingface.js/issues/778 and https://github.com/huggingface/huggingface.js/pull/942

After https://github.com/huggingface/huggingface.js/pull/942, I've realized that a better absteraction/generalisation is just to make LocalAppSnippet.content: string | string[] & remove LocalAppSnippet.setup altogether. Instead put what was in LocalAppSnippet.setup as the first item in LocalAppSnippet.content string array

mishig25 avatar Oct 06 '24 17:10 mishig25