Reset default values
This commit is contained in:
@@ -39,7 +39,7 @@ MAX_SCORE = 1
|
||||
MAX_SCORE_ALLOWED = 3
|
||||
|
||||
IS_SCORED = False
|
||||
ACCEPT_FILE_UPLOAD = True
|
||||
ACCEPT_FILE_UPLOAD = False
|
||||
|
||||
#Contains all reasonable bool and case combinations of True
|
||||
TRUE_DICT = ["True", True, "TRUE", "true"]
|
||||
|
||||
@@ -31,7 +31,7 @@ ALLOWABLE_IMAGE_SUFFIXES = [
|
||||
]
|
||||
|
||||
#Maximum allowed dimensions (x and y) for an uploaded image
|
||||
MAX_ALLOWED_IMAGE_DIM = 1500
|
||||
MAX_ALLOWED_IMAGE_DIM = 1000
|
||||
|
||||
#Dimensions to which image is resized before it is evaluated for color count, etc
|
||||
MAX_IMAGE_DIM = 150
|
||||
@@ -40,7 +40,7 @@ MAX_IMAGE_DIM = 150
|
||||
MAX_COLORS_TO_COUNT = 16
|
||||
|
||||
#Maximum number of colors allowed in an uploaded image
|
||||
MAX_COLORS = 20
|
||||
MAX_COLORS = 400
|
||||
|
||||
class ImageProperties(object):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user