diff --git a/templates/admin.html b/templates/admin.html index 5774c30..c90bfb1 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -414,6 +414,7 @@ // Get and clean the text input from the textarea let textInput = formData.get('text'); let cleanedText = textInput.replace(/ \- | \– /g, ' '); // Replace hyphens + cleanedText = cleanedText.replace(/%/g, " percent"); cleanedText = cleanedText.replace(/([!?.])\1+/g, '$1'); cleanedText = cleanedText.replace(/[^a-zA-Z0-9\s\.,;:!?\-\'"]/g, ''); cleanedText = cleanedText.replace(/\n+/g, ' '); @@ -476,7 +477,7 @@ is 22050Hz, Mono, 16 bit and between 6 to 30 seconds long, though 8 to 10 seconds is usually - good enough. The model can handle up to a 30 second samples, however I've not noticed any improvement in voice + good enough. The model can handle up to 30 second samples, however I've not noticed any improvement in voice output from a much longer clips.

You want to find a nice clear selection of audio, so lets say