shweaung commited on
Commit
47daced
·
verified ·
1 Parent(s): 745c135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -17
app.py CHANGED
@@ -232,18 +232,14 @@ title = r"""
232
  """
233
 
234
  description = r"""
235
- <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>
236
- 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> 🎬.
237
- <br>
238
- <br>
239
- 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).
240
- <br>
241
- ❗️❗️❗️[<b>Important</b>] Personalization steps:<br>
242
- 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>
243
- 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>
244
- 3️⃣ Choose your preferred style template.<br>
245
  4️⃣ <b>(Optional: but new feature)</b> Select the ‘Enable Drawing Doodle...’ option and draw on the canvas<br>
246
- 5️⃣ Click the <b>Submit</b> button to start customizing.
247
  """
248
 
249
  article = r"""
@@ -263,22 +259,19 @@ If our work is useful for your research, please consider citing:
263
  year={2024}
264
  }
265
  ```
266
- 📋 **License**
267
- <br>
268
- Apache-2.0 LICENSE. Please refer to the [LICENSE file](https://huggingface.co/TencentARC/PhotoMaker/blob/main/LICENSE) for details.
269
 
270
  📧 **Contact**
271
  <br>
272
- If you have any questions, please feel free to reach me out at <b>zhenli1031@gmail.com</b>.
273
  """
274
 
275
  tips = r"""
276
- ### Usage tips of PhotoMaker
277
  1. Upload **more photos**of the person to be customized to **improve ID fidelty**.
278
  2. If you find that the image quality is poor when using doodle for control, you can reduce the conditioning scale and factor of the adapter.
279
  If you have any issues, leave the issue in the discussion page of the space. For a more stable (queue-free) experience, you can duplicate the space.
280
  """
281
- # We have provided some generate examples and comparisons at: [this website]().
282
 
283
  css = '''
284
  .gradio-container {width: 85% !important}
 
232
  """
233
 
234
  description = r"""
235
+ <b>Walone AI Photo Studio</b>
236
+
237
+ ❗️❗️❗️[<b>အသုံးပြုနည်း</b>] Personalization steps:<br>
238
+ 1️⃣ သင်စိတ်ကြိုက်ပြင်ဆင်ချင်သည့် လူပုံကို upload လုပ်ပါ။ ပုံတစ်ပုံဆိုလဲ ရပါတယ်, AI နဲ့ train ရန် result ကောင်းရရန် ပုံများများနဲ့ train နိုင်ရင်ပို Ok. ပုံတွေက မျက်နှာရှင်းရှင်းလင်းလင်းရှိရပါမယ်, the face in the uploaded image should <b>occupy the majority of the image</b>.<br>
239
+ 2️⃣ prompt စာသားရိုက်ထည့်ပါ, <b>English လိုရိုက်ထည့်ပါ</b> သင်ပြင်ချင်သည့် ပုံစံစာသားမှာ <b>trigger word ဖြစ်သည့် img ကိုထည့်ပေးပါ</b>: `img`,ဥပမာ: `man img` or `woman img` or `girl img`.<br>
240
+ 3️⃣ သင်နှစ်သက်ရာ style template ကို ရွေးချယ်ပါ.<br>
 
 
 
 
241
  4️⃣ <b>(Optional: but new feature)</b> Select the ‘Enable Drawing Doodle...’ option and draw on the canvas<br>
242
+ 5️⃣ <b>Submit</b> button ကို နိုပ်ပြီး သင့်ပုံကို ပုံစံအမျိုးမျိုးနဲ့ ပြင်လို့ရပါတယ်.
243
  """
244
 
245
  article = r"""
 
259
  year={2024}
260
  }
261
  ```
 
 
 
262
 
263
  📧 **Contact**
264
  <br>
265
+ If you have any questions, please feel free to reach me out at Infinity Tech</b>.
266
  """
267
 
268
  tips = r"""
269
+ ### Usage tips of Walone AI Photo Studio
270
  1. Upload **more photos**of the person to be customized to **improve ID fidelty**.
271
  2. If you find that the image quality is poor when using doodle for control, you can reduce the conditioning scale and factor of the adapter.
272
  If you have any issues, leave the issue in the discussion page of the space. For a more stable (queue-free) experience, you can duplicate the space.
273
  """
274
+
275
 
276
  css = '''
277
  .gradio-container {width: 85% !important}