Paper99 commited on
Commit
e534478
1 Parent(s): 12f63d9

Update PhotoMaker v2 demo

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- The details of PhotoMaker V2 can be found in
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).