Fix breaking error: "ort is not defined" (#626)
Fix "ort is not defined" issue.
This commit is contained in:
parent
8211b62227
commit
1e152030bd
|
@ -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,
|
||||
):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue