Fix breaking error: "ort is not defined" (#626)

Fix "ort is not defined" issue.
This commit is contained in:
Pedro Cuenca 2022-09-23 17:02:03 +02:00 committed by GitHub
parent 8211b62227
commit 1e152030bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class OnnxRuntimeModel:
cache_dir: Optional[str] = None,
file_name: Optional[str] = None,
provider: Optional[str] = None,
sess_options: Optional[ort.SessionOptions] = None,
sess_options: Optional["ort.SessionOptions"] = None,
**kwargs,
):
"""