Update app.py
Browse files
app.py
CHANGED
|
@@ -232,20 +232,20 @@ title = r"""
|
|
| 232 |
#V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
|
| 233 |
|
| 234 |
|
| 235 |
-
description = r"""
|
| 236 |
-
<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>
|
| 237 |
-
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> 🎬.
|
| 238 |
-
<br>
|
| 239 |
-
<br>
|
| 240 |
-
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).
|
| 241 |
-
<br>
|
| 242 |
-
❗️❗️❗️[<b>Important</b>] Personalization steps:<br>
|
| 243 |
-
1️⃣ Upload images of someone you want to customize. One image is ok, but more is better. Although we do not perform face detection, the face in the uploaded image should <b>occupy the majority of the image</b>.<br>
|
| 244 |
-
2️⃣ Enter a text prompt, making sure to <b>follow the class word</b> you want to customize with the <b>trigger word</b>: `img`, such as: `man img` or `woman img` or `girl img`.<br>
|
| 245 |
-
3️⃣ Choose your preferred style template.<br>
|
| 246 |
-
4️⃣ <b>(Optional: but new feature)</b> Select the ‘Enable Drawing Doodle...’ option and draw on the canvas<br>
|
| 247 |
-
5️⃣ Click the <b>Submit</b> button to start customizing.
|
| 248 |
-
"""
|
| 249 |
|
| 250 |
article = r"""
|
| 251 |
|
|
|
|
| 232 |
#V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
|
| 233 |
|
| 234 |
|
| 235 |
+
description = r""" """
|
| 236 |
+
# <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>
|
| 237 |
+
# 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> 🎬.
|
| 238 |
+
# <br>
|
| 239 |
+
# <br>
|
| 240 |
+
# 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).
|
| 241 |
+
# <br>
|
| 242 |
+
# ❗️❗️❗️[<b>Important</b>] Personalization steps:<br>
|
| 243 |
+
# 1️⃣ Upload images of someone you want to customize. One image is ok, but more is better. Although we do not perform face detection, the face in the uploaded image should <b>occupy the majority of the image</b>.<br>
|
| 244 |
+
# 2️⃣ Enter a text prompt, making sure to <b>follow the class word</b> you want to customize with the <b>trigger word</b>: `img`, such as: `man img` or `woman img` or `girl img`.<br>
|
| 245 |
+
# 3️⃣ Choose your preferred style template.<br>
|
| 246 |
+
# 4️⃣ <b>(Optional: but new feature)</b> Select the ‘Enable Drawing Doodle...’ option and draw on the canvas<br>
|
| 247 |
+
# 5️⃣ Click the <b>Submit</b> button to start customizing.
|
| 248 |
+
# """
|
| 249 |
|
| 250 |
article = r"""
|
| 251 |
|