<s> from __future__ import absolute_import <EOL> import wtforms <EOL> from wtforms import validators <EOL> from . . forms import ModelForm <EOL> from digits import utils <EOL> class ImageModelForm ( ModelForm ) : <EOL> """<STR_LIT>""" <EOL> crop_size = utils . forms . IntegerField ( '<STR_LIT>' , <EOL> validators = [ <EOL> validators . NumberRange ( min = <NUM_LIT:1> ) , <EOL> validators . Optional ( ) <EOL> ] , <EOL> tooltip = "<STR_LIT>" <EOL> ) <EOL> use_mean = utils . forms . SelectField ( '<STR_LIT>' , <EOL> choices = [ <EOL> ( '<STR_LIT:none>' , '<STR_LIT:None>' ) , <EOL> ( '<STR_LIT:image>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] , <EOL> default = '<STR_LIT:image>' , <EOL> tooltip = "<STR_LIT>" <EOL> ) </s>
