Spaces:
Running
on
Zero
Running
on
Zero
Update PhotoMaker v2 demo
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ if torch.cuda.is_available() and torch.cuda.is_bf16_supported():
|
|
46 |
torch_dtype = torch.bfloat16
|
47 |
else:
|
48 |
torch_dtype = torch.float16
|
49 |
-
|
50 |
if device == "mps":
|
51 |
torch_dtype = torch.float16
|
52 |
|
@@ -232,7 +232,7 @@ title = r"""
|
|
232 |
|
233 |
description = r"""
|
234 |
<b>Official 🤗 Gradio demo</b> for <a href='https://github.com/TencentARC/PhotoMaker' target='_blank'><b>PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding</b></a>.<br>
|
235 |
-
|
236 |
<br>
|
237 |
<br>
|
238 |
For previous version of PhotoMaker, you could use our original gradio demos [PhotoMaker](https://huggingface.co/spaces/TencentARC/PhotoMaker) and [PhotoMaker-Style](https://huggingface.co/spaces/TencentARC/PhotoMaker-Style).
|
|
|
46 |
torch_dtype = torch.bfloat16
|
47 |
else:
|
48 |
torch_dtype = torch.float16
|
49 |
+
|
50 |
if device == "mps":
|
51 |
torch_dtype = torch.float16
|
52 |
|
|
|
232 |
|
233 |
description = r"""
|
234 |
<b>Official 🤗 Gradio demo</b> for <a href='https://github.com/TencentARC/PhotoMaker' target='_blank'><b>PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding</b></a>.<br>
|
235 |
+
How to use PhotoMaker V2 can be found in <a href='https://photo-maker.github.io/assets/demo_pm_v2_full.mp4' target='_blank'>this video</a>.
|
236 |
<br>
|
237 |
<br>
|
238 |
For previous version of PhotoMaker, you could use our original gradio demos [PhotoMaker](https://huggingface.co/spaces/TencentARC/PhotoMaker) and [PhotoMaker-Style](https://huggingface.co/spaces/TencentARC/PhotoMaker-Style).
|