Fix README path error

This commit is contained in:
SWHL 2023-02-21 15:45:41 +08:00
parent f2a208d0d2
commit 0153c9eddf

View File

@ -5,7 +5,7 @@ import setuptools
def get_readme():
root_dir = Path(__file__).resolve().parent
readme_path = str(root_dir / 'rapid_paraformer' / 'README.md')
readme_path = str(root_dir / 'README.md')
print(readme_path)
with open(readme_path, 'r', encoding='utf-8') as f:
readme = f.read()