feat: Inegration with Chama AI

This commit is contained in:
Davidson Gomes
2023-08-19 15:13:35 -03:00
parent a2cd57d9c6
commit b7218a05be
+1 -1
View File
@@ -82,7 +82,7 @@ export class ChamaaiService {
} }
private convertToMilliseconds(count: number) { private convertToMilliseconds(count: number) {
const averageCharactersPerSecond = 10; const averageCharactersPerSecond = 15;
const characterCount = count; const characterCount = count;
const speakingTimeInSeconds = characterCount / averageCharactersPerSecond; const speakingTimeInSeconds = characterCount / averageCharactersPerSecond;
return speakingTimeInSeconds; return speakingTimeInSeconds;