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
d799084a
Unverified
Commit
d799084a
authored
Sep 01, 2022
by
okalldal
Committed by
GitHub
Sep 01, 2022
Browse files
Allow downloading of revisions for models. (#303)
parent
1e5d91d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/diffusers/configuration_utils.py
src/diffusers/configuration_utils.py
+1
-0
src/diffusers/modeling_utils.py
src/diffusers/modeling_utils.py
+1
-0
No files found.
src/diffusers/configuration_utils.py
View file @
d799084a
...
...
@@ -152,6 +152,7 @@ class ConfigMixin:
use_auth_token
=
use_auth_token
,
user_agent
=
user_agent
,
subfolder
=
subfolder
,
revision
=
revision
,
)
except
RepositoryNotFoundError
:
...
...
src/diffusers/modeling_utils.py
View file @
d799084a
...
...
@@ -373,6 +373,7 @@ class ModelMixin(torch.nn.Module):
use_auth_token
=
use_auth_token
,
user_agent
=
user_agent
,
subfolder
=
subfolder
,
revision
=
revision
,
)
except
RepositoryNotFoundError
:
...
...
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