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
OpenDAS
diffusers
Commits
364d59d1
Unverified
Commit
364d59d1
authored
Apr 27, 2023
by
Patrick von Platen
Committed by
GitHub
Apr 27, 2023
Browse files
Fix community pipelines (#3266)
parent
2ced899c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/utils/dynamic_modules_utils.py
src/diffusers/utils/dynamic_modules_utils.py
+1
-1
No files found.
src/diffusers/utils/dynamic_modules_utils.py
View file @
364d59d1
...
...
@@ -267,7 +267,7 @@ def get_cached_module_file(
# retrieve github version that matches
if
revision
is
None
:
revision
=
latest_version
if
latest_version
in
available_versions
else
"main"
revision
=
latest_version
if
latest_version
[
1
:]
in
available_versions
else
"main"
logger
.
info
(
f
"Defaulting to latest_version:
{
revision
}
."
)
elif
revision
in
available_versions
:
revision
=
f
"v
{
revision
}
"
...
...
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