Skip to content

Commit 1e15203

Browse files
authored
Fix breaking error: "ort is not defined" (#626)
Fix "ort is not defined" issue.
1 parent 8211b62 commit 1e15203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/onnx_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def _from_pretrained(
114114
cache_dir: Optional[str] = None,
115115
file_name: Optional[str] = None,
116116
provider: Optional[str] = None,
117-
sess_options: Optional[ort.SessionOptions] = None,
117+
sess_options: Optional["ort.SessionOptions"] = None,
118118
**kwargs,
119119
):
120120
"""

0 commit comments

Comments
 (0)