openfree commited on
Commit
e96bae3
·
verified ·
1 Parent(s): ecd462b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -10
app.py CHANGED
@@ -169,27 +169,21 @@ def generate_image(
169
 
170
  _HEADER_ = '''
171
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
172
- <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; display: contents;">DreamO</h1>
173
  <p style="font-size: 1rem; margin-bottom: 1.5rem;">Paper: <a href='https://arxiv.org/abs/2504.16915' target='_blank'>DreamO: A Unified Framework for Image Customization</a> | Codes: <a href='https://github.com/bytedance/DreamO' target='_blank'>GitHub</a></p>
174
  </div>
175
 
176
  🚩 Update Notes:
177
  - 2025.05.11: We have updated the model to mitigate over-saturation and plastic-face issues. The new version shows consistent improvements over the previous release.
 
178
 
179
- ❗️❗️❗️**User Guide:**
180
- - The most important thing to do first is to try the examples provided below the demo, which will help you better understand the capabilities of the DreamO model and the types of tasks it currently supports
181
- - For each input, please select the appropriate task type. For general objects, characters, or clothing, choose IP — we will remove the background from the input image. If you select ID, we will extract the face region from the input image (similar to PuLID). If you select Style, the background will be preserved, and you must prepend the prompt with the instruction: 'generate a same style image.' to activate the style task.
182
- - The most import hyperparameter in this demo is the guidance scale, which is set to 3.5 by default. If you notice that faces appear overly glossy or unrealistic—especially in ID tasks—you can lower the guidance scale (e.g., to 3). Conversely, if text rendering is poor or limb distortion occurs, increasing the guidance scale (e.g., to 4) may help.
183
- - To accelerate inference, we adopt FLUX-turbo LoRA, which reduces the sampling steps from 25 to 12 compared to FLUX-dev. Additionally, we distill a CFG LoRA, achieving nearly a twofold reduction in steps by eliminating the need for true CFG
184
-
185
- ''' # noqa E501
186
 
187
  _CITE_ = r"""
188
- If DreamO is helpful, please help to ⭐ the <a href='https://github.com/bytedance/DreamO' target='_blank'> Github Repo</a>. Thanks!
189
  ---
190
 
191
  📧 **Contact**
192
- If you have any questions or feedbacks, feel free to open a discussion or contact <b>wuyanze123@gmail.com</b> and <b>[email protected]</b>
193
  """ # noqa E501
194
 
195
 
 
169
 
170
  _HEADER_ = '''
171
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
172
+ <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; display: contents;">DreamO Video</h1>
173
  <p style="font-size: 1rem; margin-bottom: 1.5rem;">Paper: <a href='https://arxiv.org/abs/2504.16915' target='_blank'>DreamO: A Unified Framework for Image Customization</a> | Codes: <a href='https://github.com/bytedance/DreamO' target='_blank'>GitHub</a></p>
174
  </div>
175
 
176
  🚩 Update Notes:
177
  - 2025.05.11: We have updated the model to mitigate over-saturation and plastic-face issues. The new version shows consistent improvements over the previous release.
178
+ - 2025.05.13: 'DreamO Video' Integration version Release
179
 
 
 
 
 
 
 
 
180
 
181
  _CITE_ = r"""
182
+ If DreamO is helpful, please help to ⭐ the <a href='https://discord.gg/openfreeai' target='_blank'> Github Repo</a>. Thanks!
183
  ---
184
 
185
  📧 **Contact**
186
+ If you have any questions or feedbacks, feel free to open a discussion or contact <b>arxivgpt@gmail.com</b>
187
  """ # noqa E501
188
 
189