<commit_before>
<form class="form-horizontal">
  <div class="modal-body">
    <legend>
      New Show
      <button class="btn btn-sm btn-white btn-outline pull-right" ng-show="hasKey" ng-click="toggleAddManually()">
        <span ng-show="!tvShow.manualInput">Add Manually</span>
        <span ng-show="tvShow.manualInput">Add Automatically</span>
      </button>
    </legend>

    <div class="form-group">
      <div class="col-sm-12 typeahead-wrapper" ng-if="!tvShow.manualInput">
        <input type="text" class="form-control name-input" ng-model="tvShow.name" placeholder="Search from TheMovieDb..." typeahead-loading="loading" typeahead-append-to-body="true"
               uib-typeahead="show.name for show in search($viewValue)" typeahead-on-select="selectFromAPI($item)" typeahead-template-url="/streama/typeahead--tvShow.htm">
        <div class="spinner" ng-show="loading">
          <div class="bounce1"></div>
          <div class="bounce2"></div>
          <div class="bounce3"></div>
        </div>
      </div>
      <div class="col-sm-12">
        <input class="form-control name-input" ng-if="tvShow.manualInput" type="text" ng-model="tvShow.name" placeholder="Show Name*">
      </div>
    </div>

    <div ng-show="tvShow.apiId || tvShow.manualInput">
      <div class="form-group row-slim"><commit_msg>add "Add Manually" toggle-button for tv-shows<commit_after>
<form class="form-horizontal">
  <div class="modal-body">
    <legend>
      New Show
      <button class="btn btn-sm btn-white btn-outline pull-right" ng-show="hasMovieDBKey" ng-click="toggleAddManually()">
        <span ng-show="!tvShow.manualInput">Add Manually</span>
        <span ng-show="tvShow.manualInput">Add Automatically</span>
      </button>
    </legend>

    <div class="form-group">
      <div class="col-sm-12 typeahead-wrapper" ng-if="!tvShow.manualInput">
        <input type="text" class="form-control name-input" ng-model="tvShow.name" placeholder="Search from TheMovieDb..." typeahead-loading="loading" typeahead-append-to-body="true"
               uib-typeahead="show.name for show in search($viewValue)" typeahead-on-select="selectFromAPI($item)" typeahead-template-url="/streama/typeahead--tvShow.htm">
        <div class="spinner" ng-show="loading">
          <div class="bounce1"></div>
          <div class="bounce2"></div>
          <div class="bounce3"></div>
        </div>
      </div>
      <div class="col-sm-12">
        <input class="form-control name-input" ng-if="tvShow.manualInput" type="text" ng-model="tvShow.name" placeholder="Show Name*">
      </div>
    </div>

    <div ng-show="tvShow.apiId || tvShow.manualInput">
      <div class="form-group row-slim">
{'fraction_non_alphanumeric': 0.17478616586091483, 'fraction_numerical': 0.005206396429899591, 'mean_word_length': 3.338709677419355, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '5107988', 'n_tokens_mistral': 902, 'n_tokens_neox': 858, 'n_words': 156}