feat: Inegration with Chama AI

This commit is contained in:
Davidson Gomes 2023-08-19 15:13:35 -03:00
parent a2cd57d9c6
commit b7218a05be

View File

@ -82,7 +82,7 @@ export class ChamaaiService {
}
private convertToMilliseconds(count: number) {
const averageCharactersPerSecond = 10;
const averageCharactersPerSecond = 15;
const characterCount = count;
const speakingTimeInSeconds = characterCount / averageCharactersPerSecond;
return speakingTimeInSeconds;