haoheliu commited on
Commit
c1cbddf
1 Parent(s): 20e311e

Update layout

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -254,14 +254,6 @@ with iface:
254
  <br>
255
  </div>
256
  ''')
257
- gr.HTML('''
258
- <div class="acknowledgements">
259
- <p>Essential Tricks for Enhancing the Quality of Your Generated Audio</p>
260
- <p>1. Try to use more adjectives to describe your sound. For example: "A man is speaking clearly and slowly in a large room" is better than "A man is speaking".</p>
261
- <p>2. Try to use different random seeds, which can affect the generation quality significantly sometimes.</p>
262
- <p>3. It's better to use general terms like 'man' or 'woman' instead of specific names for individuals or abstract objects that humans may not be familiar with, such as 'mummy'.</p>
263
- </div>
264
- ''')
265
  gr.Examples([
266
  ["A hammer is hitting a wooden surface", 5, 2.5, 45, 3],
267
  ["Peaceful and calming ambient music with singing bowl and other instruments.", 5, 2.5, 45, 3],
@@ -274,6 +266,14 @@ with iface:
274
  outputs=[outputs],
275
  cache_examples=True,
276
  )
 
 
 
 
 
 
 
 
277
  with gr.Accordion("Additional information", open=False):
278
  gr.HTML(
279
  """
 
254
  <br>
255
  </div>
256
  ''')
 
 
 
 
 
 
 
 
257
  gr.Examples([
258
  ["A hammer is hitting a wooden surface", 5, 2.5, 45, 3],
259
  ["Peaceful and calming ambient music with singing bowl and other instruments.", 5, 2.5, 45, 3],
 
266
  outputs=[outputs],
267
  cache_examples=True,
268
  )
269
+ gr.HTML('''
270
+ <div class="acknowledgements">
271
+ <p>Essential Tricks for Enhancing the Quality of Your Generated Audio</p>
272
+ <p>1. Try to use more adjectives to describe your sound. For example: "A man is speaking clearly and slowly in a large room" is better than "A man is speaking". This can make sure AudioLDM understands what you want.</p>
273
+ <p>2. Try to use different random seeds, which can affect the generation quality significantly sometimes.</p>
274
+ <p>3. It's better to use general terms like 'man' or 'woman' instead of specific names for individuals or abstract objects that humans may not be familiar with, such as 'mummy'.</p>
275
+ </div>
276
+ ''')
277
  with gr.Accordion("Additional information", open=False):
278
  gr.HTML(
279
  """