Spaces:
Runtime error
Runtime error
Update helpers/tts.js
Browse files- helpers/tts.js +2 -0
helpers/tts.js
CHANGED
@@ -76,6 +76,8 @@ const textToSpeech = async (text, voice)=> {
|
|
76 |
time: timeStamp,
|
77 |
blendshapes: blend
|
78 |
});
|
|
|
|
|
79 |
timeStamp += timeStep;
|
80 |
});
|
81 |
|
|
|
76 |
time: timeStamp,
|
77 |
blendshapes: blend
|
78 |
});
|
79 |
+
console.log(`Timestamp: ${timeStamp.toFixed(3)}s`);
|
80 |
+
console.log(JSON.stringify(blend, null, 2));
|
81 |
timeStamp += timeStep;
|
82 |
});
|
83 |
|