<commit_before>.container
  .text-center
    img.image-detail(src='#{downloadUrl}')
  .text-center
    a.button.is-primary.has-icon(href='#{downloadUrl}')
      span.glyphicon.glyphicon-send
      span &nbsp; Open in Browser

  dl.file-card
    dt
      span.entypo &#128318;
      |  #{file.name}
    dd Category
      .pull-right #{file.category}
    dd Size
      .pull-right #{file.friendlySize}

  dl.file-card
    dt
      span.entypo &#59148;
      |  User Tags
    dd
      if file.tags.length > 0
        for tag in file.tags
          span.label.label-success #{tag}
          |&nbsp;
      else
        div No tags

  if file.entities.length > 0
    dl.file-card
      dt
        span.entypo &#128101;
        |  Entities
      dd
        for entity in file.entities
          span.btn.btn-default.btn-xs.entity(data-toggle='tooltip', title='#{entity.type}') #{entity.text} &nbsp;
          | &nbsp;
          script.
            $('.entity').tooltip();

  if file.concepts.length > 0
    dl.file-card
      dt
        span.entypo &#59172;
        |  Concepts
      dd
        for concept in file.concepts
          span.label.label-default #{concept.text}
          | &nbsp;


  if file.keywords.length > 0
    dl.file-card
      dt
        span.entypo &#9000;
        |  Keywords
      dd
        for keyword in file.keywords
          span.label.label-primary #{keyword.text}
          |&nbsp;


  button.btn.btn-danger.btn-block
    span.glyphicon.glyphicon-trash
    |  Delete
  br<commit_msg>added photo metadata on image-detail page<commit_after>.container
  .text-center
    img.image-detail(src='#{downloadUrl}')
  .text-center
    a.button.is-primary.has-icon(href='#{downloadUrl}')
      span.glyphicon.glyphicon-send
      span &nbsp; Open in Browser

  dl.file-card
    dt
      span.entypo &#128318;
      |  #{file.name}
    dd Dimensions
      .pull-right #{file.width}x#{file.height}
    dd Size
      .pull-right #{file.friendlySize}

  dl.file-card
    dt
      span.entypo &#59148;
      |  User Tags
    dd
      if file.tags.length > 0
        for tag in file.tags
          span.label.label-success #{tag}
          |&nbsp;
      else
        div No tags
  if file.recognizable
    dl.file-card
      dt Photo Details
      dd Gender
        .pull-right #{file.gender.value}
      dd Yaw
        .pull-right #{file.yaw}
      dd Roll
        .pull-right #{file.roll}
      dd Pitch
        .pull-right #{file.pitch}
      dd Face
        .pull-right #{file.face.value}
      dd Glasses
        .pull-right #{file.glasses.value}
      dd Smiling
        .pull-right #{file.smiling.value}


  if file.concepts.length > 0
    dl.file-card
      dt
        span.entypo &#59172;
        |  Concepts
      dd
        for concept in file.concepts
          span.label.label-default #{concept.text}
          | &nbsp;


  if file.keywords.length > 0
    dl.file-card
      dt
        span.entypo &#9000;
        |  Keywords
      dd
        for keyword in file.keywords
          span.label.label-primary #{keyword.text}
          |&nbsp;


  button.btn.btn-danger.btn-block
    span.glyphicon.glyphicon-trash
    |  Delete
  br
{'fraction_non_alphanumeric': 0.11572606214331008, 'fraction_numerical': 0.016804058338617627, 'mean_word_length': 1.6965811965811965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7426169', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1040, 'n_words': 220}