make max_seq_length an attr on PrettyPrinter

instead of module global