          
          if filter_files:
              print('Loading reference images for filtering: %s' % filter_files)
              return FaceFilter(filter_files, nfilter_files, self.arguments.ref_threshold)
  
      # for now, we limit this class responsability to the read of files. images and faces are processed outside this class
      def process(self):
 
</s> remove         import threading
 </s> add 
            import_FaceFilter()
          
          if filter_files:
            import_FaceFilter()
              print('Loading reference images for filtering: %s' % filter_files)
              return FaceFilter(filter_files, nfilter_files, self.arguments.ref_threshold)
  
      # for now, we limit this class responsability to the read of files. images and faces are processed outside this class
      def process(self):
keep add keep keep keep keep keep
 Only import DLIB related modules when required and minor import relocations (#315)

* Move imports to top and add conditions to load modules requiring GPU

* Fix type

* Fix typo

* Import relocation and dlib import on demand

* refactor to remove extra code lines

* remove unnecessary sys import 
lib/cli.py