Skip to content

Commit

Permalink
Fix breaking error: "ort is not defined" (huggingface#626)
Browse files Browse the repository at this point in the history
Fix "ort is not defined" issue.
  • Loading branch information
pcuenca authored Sep 23, 2022
1 parent 8211b62 commit 1e15203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/onnx_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _from_pretrained(
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,
):
"""
Expand Down

0 comments on commit 1e15203

Please sign in to comment.