Merge #1544 from Outsider565/main, fix #1548

Fix: Change rouge-chinese package name to rouge_chinese
This commit is contained in:
hoshi-hiyouga 2023-11-17 16:09:42 +08:00 committed by GitHub
commit 7f9770b2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ _flash_attn2_available = is_package_available("flash_attn") and get_package_vers
_jieba_available = is_package_available("jieba")
_matplotlib_available = is_package_available("matplotlib")
_nltk_available = is_package_available("nltk")
_rouge_available = is_package_available("rouge-chinese")
_rouge_available = is_package_available("rouge_chinese")
_starlette_available = is_package_available("sse-starlette")
_uvicorn_available = is_package_available("uvicorn")