<commit_before>from os import getenv

_user = getenv('USER', getenv('USERNAME', 'default'))
__YOUR_EMAIL__ = <EMAIL>' % _user


# configuration
class Config(object):
	app = 'amzn-search-api'
	HEROKU = getenv('HEROKU', False)

	DEBUG = False
	DEBUG_MEMCACHE = True
	ADMINS = frozenset([__YOUR_EMAIL__])
	TESTING = False
	HOST = '127.0.0.1'

	if HEROKU:
		SERVER_NAME = '%s.herokuapp.com' % app

	SECRET_KEY = getenv('SECRET_KEY', 'key')
	API_METHODS = ['GET']<commit_msg>Fix 404 bug<commit_after>from os import getenv

_user = getenv('USER', getenv('USERNAME', 'default'))
__YOUR_EMAIL__ = <EMAIL>' % _user


# configuration
class Config(object):
	app = 'amzn-search-api'
	stage = getenv('STAGE', False)
	end = '-stage' if stage else ''
	heroku_server = '%s%s.herokuapp.com' % (app, end)

	HEROKU = getenv('HEROKU', False)
	DEBUG = False
	DEBUG_MEMCACHE = True
	ADMINS = frozenset([__YOUR_EMAIL__])
	TESTING = False
	HOST = '127.0.0.1'

	if HEROKU:
		SERVER_NAME = heroku_server

	SECRET_KEY = getenv('SECRET_KEY', 'key')
	API_METHODS = ['GET']
{'fraction_non_alphanumeric': 0.15244487056567593, 'fraction_numerical': 0.014381591562799617, 'mean_word_length': 4.865168539325842, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7499567', 'n_tokens_mistral': 446, 'n_tokens_neox': 420, 'n_words': 90}