<commit_before>//- index.jade
extends ./layout.jade


block row-content
  div.row
    div.col-lg-7.col-md-7.col-xs-12
      h2 Try the service
      div.well
        form.speech-form.form-horizontal(method='get')
          fieldset
            div.row
              div.col-lg-12.col-xs-12
                label.control-label(for='textArea') Enter or paste the text to be synthesized into speech:
                textarea#textArea.form-control(name='text', rows='8', required)
                span.help-block
                  small The text language must match the selected voice language:
                    |  Mixing language (English text with a Spanish voice) does not produce valid results.
            div.row(style='margin-bottom:30px;')
              label.col-lg-12.col-xs-12.control-label(for='voice') Select the Voice model:
            div.col-lg-12.col-xs-12
              select.form-control#voice(style='width:100%', name='voice', required)
                for voice in data.voices
                  option(value=voice.name) #{voice.gender + ' voice: ' + voice.name.substring(9, voice.name.length)}
            div.row<commit_msg>Remove Jade enumeration of voice options (now appended to DOM by JS)<commit_after>//- index.jade
extends ./layout.jade


block row-content
  div.row
    div.col-lg-7.col-md-7.col-xs-12
      h2 Try the service
      div.well
        form.speech-form.form-horizontal(method='get')
          fieldset
            div.row
              div.col-lg-12.col-xs-12
                label.control-label(for='textArea') Enter or paste the text to be synthesized into speech:
                textarea#textArea.form-control(name='text', rows='8', required)
                span.help-block
                  small The text language must match the selected voice language:
                    |  Mixing language (English text with a Spanish voice) does not produce valid results.
            div.row(style='margin-bottom:30px;')
              label.col-lg-12.col-xs-12.control-label(for='voice') Select the Voice model:
            div.col-lg-12.col-xs-12
              select.form-control#voice(style='width:100%', name='voice', required)
            div.row
{'fraction_non_alphanumeric': 0.11182108626198083, 'fraction_numerical': 0.021451392058420813, 'mean_word_length': 1.962162162162162, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7273249', 'n_tokens_mistral': 662, 'n_tokens_neox': 616, 'n_words': 151}