zhangzhicheng.zzc yingda.chen 3 years ago
parent
commit
e80603bf39
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modelscope/utils/ast_utils.py

+ 3
- 0
modelscope/utils/ast_utils.py View File

@@ -602,6 +602,9 @@ def load_index(force_rebuild=False):
)
index = file_scanner.get_files_scan_results()
_save_index(index, file_path)
logger.info(
f'Loading done! Current index file version is {index[VERSION_KEY]}, '
f'with md5 {index[MD5_KEY]}')
return index




Loading…
Cancel
Save