mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-28 16:19:48 +03:00
chore: fix ci for translator tool
This commit is contained in:
1 parent
ecdf2c1803
commit
3c58f7c2c0
1 file changed
-1
@@ -148,7 +148,6 @@ async function translateText() {
|
||||
loadingModel.value = true;
|
||||
|
||||
try {
|
||||
// @ts-expect-error Probably a Typescript bug 'too complex type'
|
||||
translators.set(modelId, await pipeline('translation', modelId) as TranslationPipeline);
|
||||
}
|
||||
catch (e: any) {
|
||||
|
||||
Reference in new issue
Block a user