start to integrate whisper.
This commit is contained in:
@ -76,5 +76,6 @@ export class CachedTranslator extends Translator {
|
||||
const tr2 = await super.translate(text, target);
|
||||
const key2 = `${this.source}::${targetKey}::${text}`
|
||||
await cache.set(key2, tr2);
|
||||
return tr2;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user