<commit_before>
<div class="container">
    <div class="page-header">
        <h1><span ng-click="parent()" ng-show="hasParent">../</span>{{folder_name}} <small>Subtext for header</small></h1>
    </div>

    <div>
        <button type="button"
                class="btn btn-link"
                ng-click="loadNewFolder($event)"
                style="text-decoration:none;">
            <i class="fa fa-plus" aria-hidden="true"></i> Create Folder
        </button>

        <button type="button"
                class="btn btn-link"
                ngf-select="uploadFiles($files)"
                multiple="multiple"
                id="imageupload"
                style="text-decoration:none;">
            <i class="fa fa-cloud-upload" aria-hidden="true"></i> Upload Image(s)
        </button>
    </div>

    <div>
        <h4>Folders</h4>
        <button class="btn btn-primary"
                style="margin-left: 10px;"
                ng-repeat="folder in folder.folders track by folder.id"
                ng-click="loadFolder(folder.id)">
            <i class="fa fa-folder-o" aria-hidden="true"></i> {{folder.name}}
        </button>
        <h4>Images</h4>
        <div ng-repeat="image in folder.images track by image.id" style="float:left; margin-left: 10px;">
            <img ng-src="{{image.thumbnail}}" alt="{{image.name}}" class="img-thumbnail">
        </div>

    </div>
</div><commit_msg>Hide things when we should.<commit_after>
<div class="container">
    <div class="page-header">
        <h1><span ng-click="parent()" ng-show="hasParent">../</span>{{folder_name}} <small>Subtext for header</small></h1>
    </div>

    <div>
        <button type="button"
                class="btn btn-link"
                ng-click="loadNewFolder($event)"
                style="text-decoration:none;">
            <i class="fa fa-plus" aria-hidden="true"></i> Create Folder
        </button>

        <button type="button"
                class="btn btn-link"
                ngf-select="uploadFiles($files)"
                multiple="multiple"
                id="imageupload"
                style="text-decoration:none;">
            <i class="fa fa-cloud-upload" aria-hidden="true"></i> Upload Image(s)
        </button>
    </div>

    <div ng-show="folder.folders.length > 0">
        <h4>Folders</h4>
        <button class="btn btn-primary"
                style="margin-left: 10px;"
                ng-repeat="folder in folder.folders track by folder.id"
                ng-click="loadFolder(folder.id)">
            <i class="fa fa-folder-o" aria-hidden="true"></i> {{folder.name}}
        </button>
    </div>
    <div ng-show="folder.images.length > 0">
        <h4>Images</h4>
        <div ng-repeat="image in folder.images track by image.id" style="float:left; margin-left: 10px;">
            <img ng-src="{{image.thumbnail}}" alt="{{image.name}}" class="img-thumbnail">
        </div>

    </div>
</div>
{'fraction_non_alphanumeric': 0.17450579413769599, 'fraction_numerical': 0.007498295841854124, 'mean_word_length': 2.022657054582904, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 73, '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': '3793348', 'n_tokens_mistral': 929, 'n_tokens_neox': 872, 'n_words': 169}