Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- src/worker.ts +0 -1
src/worker.ts
CHANGED
|
@@ -246,7 +246,6 @@ async function generateChunk(
|
|
| 246 |
const phonemeTokens = basicTokenize(phonemesRaw);
|
| 247 |
const phonemesJoined = phonemeTokens.join(" ");
|
| 248 |
const inputIds = tokenize(phonemesJoined);
|
| 249 |
-
console.log(`[KittenTTS] Text: "${text}" → Phonemes: "${phonemesJoined}" (${inputIds.length} tokens)`);
|
| 250 |
|
| 251 |
// Select voice style reference based on text length (matches Python logic)
|
| 252 |
const refId = Math.min(text.length, voiceData.shape[0] - 1);
|
|
|
|
| 246 |
const phonemeTokens = basicTokenize(phonemesRaw);
|
| 247 |
const phonemesJoined = phonemeTokens.join(" ");
|
| 248 |
const inputIds = tokenize(phonemesJoined);
|
|
|
|
| 249 |
|
| 250 |
// Select voice style reference based on text length (matches Python logic)
|
| 251 |
const refId = Math.min(text.length, voiceData.shape[0] - 1);
|