perf.优化python接口的一些调用方式

This commit is contained in:
MistEO
2022-04-03 01:26:05 +08:00
parent 439fd655d7
commit def276c44f
3 changed files with 7 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ def my_callback(msg, details, arg):
if __name__ == "__main__":
# 请设置为存放 dll 文件及资源的路径
path: str = (pathlib.Path.cwd().parent).__str__()
path = pathlib.Path.cwd().parent
Asst.load(path=path)