Update __init__.py

This commit is contained in:
Jason
2023-03-29 12:57:40 +08:00
committed by GitHub
parent b1d2903b93
commit 7507003113

View File

@@ -45,10 +45,6 @@ if os.name != "nt" and os.path.exists(trt_directory):
# Note(zhoushunjie): Fix the import order of paddle and fastdeploy library.
# This solution will be removed it when the confilct of paddle and
# fastdeploy is fixed.
try:
import paddle
except:
pass
from .c_lib_wrap import (
ModelFormat,