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
chenpangpang
PhotoMaker-base
Commits
0b13e0a3
Unverified
Commit
0b13e0a3
authored
Jul 22, 2024
by
Zhen Li
Committed by
GitHub
Jul 22, 2024
Browse files
Update inference_pmv2_t2i_adapter.py
parent
a08b7284
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
inference_scripts/inference_pmv2_t2i_adapter.py
inference_scripts/inference_pmv2_t2i_adapter.py
+2
-2
No files found.
inference_scripts/inference_pmv2_t2i_adapter.py
View file @
0b13e0a3
...
...
@@ -32,7 +32,7 @@ if device == "mps":
output_dir
=
"./outputs"
os
.
makedirs
(
output_dir
,
exist_ok
=
True
)
photomaker_
path
=
hf_hub_download
(
repo_id
=
"TencentARC/PhotoMaker"
,
filename
=
"photomaker-v2.bin"
,
repo_type
=
"model"
)
photomaker_
ckpt
=
hf_hub_download
(
repo_id
=
"TencentARC/PhotoMaker
-V2
"
,
filename
=
"photomaker-v2.bin"
,
repo_type
=
"model"
)
openpose
=
OpenposeDetector
.
from_pretrained
(
"lllyasviel/ControlNet"
)
# load adapter
...
...
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