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
d799084a
"apps/life_sci/python/setup.py" did not exist on "e4948c5cbce13a054d639c5b4f0be20ba166d68e"
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
Show 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:
...
@@ -152,6 +152,7 @@ class ConfigMixin:
use_auth_token
=
use_auth_token
,
use_auth_token
=
use_auth_token
,
user_agent
=
user_agent
,
user_agent
=
user_agent
,
subfolder
=
subfolder
,
subfolder
=
subfolder
,
revision
=
revision
,
)
)
except
RepositoryNotFoundError
:
except
RepositoryNotFoundError
:
...
...
src/diffusers/modeling_utils.py
View file @
d799084a
...
@@ -373,6 +373,7 @@ class ModelMixin(torch.nn.Module):
...
@@ -373,6 +373,7 @@ class ModelMixin(torch.nn.Module):
use_auth_token
=
use_auth_token
,
use_auth_token
=
use_auth_token
,
user_agent
=
user_agent
,
user_agent
=
user_agent
,
subfolder
=
subfolder
,
subfolder
=
subfolder
,
revision
=
revision
,
)
)
except
RepositoryNotFoundError
:
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