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
31b211bf
"examples/vscode:/vscode.git/clone" did not exist on "09779cbb4046b0afa7cc3da043c928dc4866d59a"
Unverified
Commit
31b211bf
authored
Jul 02, 2024
by
Dhruv Nair
Committed by
GitHub
Jul 02, 2024
Browse files
Fix mistake in Single File Docs page (#8765)
update
parent
610a71d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/source/en/using-diffusers/other-formats.md
docs/source/en/using-diffusers/other-formats.md
+3
-3
No files found.
docs/source/en/using-diffusers/other-formats.md
View file @
31b211bf
...
@@ -418,7 +418,7 @@ my_local_checkpoint_path = hf_hub_download(
...
@@ -418,7 +418,7 @@ my_local_checkpoint_path = hf_hub_download(
my_local_config_path
=
snapshot_download
(
my_local_config_path
=
snapshot_download
(
repo_id
=
"segmind/SSD-1B"
,
repo_id
=
"segmind/SSD-1B"
,
allow
ed
_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
allow_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
)
)
pipeline
=
StableDiffusionXLPipeline
.
from_single_file
(
my_local_checkpoint_path
,
config
=
my_local_config_path
,
local_files_only
=
True
)
pipeline
=
StableDiffusionXLPipeline
.
from_single_file
(
my_local_checkpoint_path
,
config
=
my_local_config_path
,
local_files_only
=
True
)
...
@@ -438,7 +438,7 @@ my_local_checkpoint_path = hf_hub_download(
...
@@ -438,7 +438,7 @@ my_local_checkpoint_path = hf_hub_download(
my_local_config_path
=
snapshot_download
(
my_local_config_path
=
snapshot_download
(
repo_id
=
"segmind/SSD-1B"
,
repo_id
=
"segmind/SSD-1B"
,
allow
ed
_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
allow_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
local_dir
=
"my_local_config"
local_dir
=
"my_local_config"
)
)
...
@@ -468,7 +468,7 @@ print("My local checkpoint: ", my_local_checkpoint_path)
...
@@ -468,7 +468,7 @@ print("My local checkpoint: ", my_local_checkpoint_path)
my_local_config_path
=
snapshot_download
(
my_local_config_path
=
snapshot_download
(
repo_id
=
"segmind/SSD-1B"
,
repo_id
=
"segmind/SSD-1B"
,
allow
ed
_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
allow_patterns
=
[
"*.json"
,
"**/*.json"
,
"*.txt"
,
"**/*.txt"
]
local_dir_use_symlinks
=
False
,
local_dir_use_symlinks
=
False
,
)
)
print
(
"My local config: "
,
my_local_config_path
)
print
(
"My local config: "
,
my_local_config_path
)
...
...
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