<commit_before>CarrierWave.configure do |config|
  config.permissions = 0666
  config.directory_permissions = 0777

  config.fog_credentials = {
      :provider               => 'AWS',
      :aws_access_key_id      => Rails.application.secrets.aws_access_key,
      :aws_secret_access_key  => Rails.application.secrets.aws_secret_key
  }

  if Rails.env.production?
    config.storage = :fog
    config.fog_directory = 'girl_develop_it'
  else
    config.storage = :file
  end
end<commit_msg>Attempting to get S3 working<commit_after>CarrierWave.configure do |config|
  config.permissions = 0666
  config.directory_permissions = 0777



  if Rails.env.production?
    config.storage = :fog
    config.fog_credentials = {
        :provider               => 'AWS',
        :aws_access_key_id      => ENV['AWS_ACCESS_KEY_ID'],
        :aws_secret_access_key  => ENV['AWS_SECRET_ACCESS_KEY']
    }
    config.fog_directory = ENV['S3_BUCKET_NAME']
  else
    config.storage = :file
  end
end
{'fraction_non_alphanumeric': 0.0973630831643002, 'fraction_numerical': 0.018255578093306288, 'mean_word_length': 3.0785123966942147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4132255', 'n_tokens_mistral': 358, 'n_tokens_neox': 332, 'n_words': 53}