cleanup of pip req file: removed unused packages
dir must return list type even if only one model is provided