bark icon indicating copy to clipboard operation
bark copied to clipboard

Control the length of AUDIOs generated????

Open AIhasArrived opened this issue 2 years ago • 3 comments
trafficstars

I was wondering Is there a way to make the audio generated take the exact amount of time you desire? So when I write for instance a sentence of 5 words, I could control whether the ai reader makes it in 5, 6 or 7 seconds? This is important.

Anyone with an idea if this is possible or any other method to circumvent this or control it???

AIhasArrived avatar Nov 02 '23 07:11 AIhasArrived

use BetterTransformer this will reduce the inference of 20-30 persentage

Ezhil6999 avatar Dec 10 '23 10:12 Ezhil6999

how do I use a bettertransformer @Ezhil6999 ? Not sure what is that

AIhasArrived avatar Dec 10 '23 10:12 AIhasArrived

from transformers import BetterTransformer model = BetterTransformer.transform(model, keep_original_model=False)

Ezhil6999 avatar Dec 10 '23 11:12 Ezhil6999