Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
1e152030
Unverified
Commit
1e152030
authored
Sep 23, 2022
by
Pedro Cuenca
Committed by
GitHub
Sep 23, 2022
Browse files
Fix breaking error: "ort is not defined" (#626)
Fix "ort is not defined" issue.
parent
8211b622
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/onnx_utils.py
src/diffusers/onnx_utils.py
+1
-1
No files found.
src/diffusers/onnx_utils.py
View file @
1e152030
...
@@ -114,7 +114,7 @@ class OnnxRuntimeModel:
...
@@ -114,7 +114,7 @@ class OnnxRuntimeModel:
cache_dir
:
Optional
[
str
]
=
None
,
cache_dir
:
Optional
[
str
]
=
None
,
file_name
:
Optional
[
str
]
=
None
,
file_name
:
Optional
[
str
]
=
None
,
provider
:
Optional
[
str
]
=
None
,
provider
:
Optional
[
str
]
=
None
,
sess_options
:
Optional
[
ort
.
SessionOptions
]
=
None
,
sess_options
:
Optional
[
"
ort.SessionOptions
"
]
=
None
,
**
kwargs
,
**
kwargs
,
):
):
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment