AndreasXi commited on
Commit
f4337c3
·
1 Parent(s): a9bb66f
Files changed (1) hide show
  1. app.py +15 -14
app.py CHANGED
@@ -193,22 +193,24 @@ variant = gr.Dropdown(label="Model Variant", choices=list(all_model_cfg.keys()),
193
 
194
 
195
  description_text = """
196
- **MeanAudio** is a novel text-to-audio generator that uses **MeanFlow** to synthesize realistic and faithful audio in few sampling steps. It achieves state-of-the-art performance in single-step audio generation and delivers strong performance in multi-step audio generation.
 
 
197
 
198
- <div style="display: flex; gap: 10px; align-items: center;">
199
- <a href="https://huggingface.co/AndreasXi/MeanAudio">
200
- <img src="https://img.shields.io/badge/Model-HuggingFace-violet?logo=huggingface" alt="Hugging Face Model">
201
- </a>
202
- <a href="https://huggingface.co/spaces/chenxie95/MeanAudio">
203
- <img src="https://img.shields.io/badge/Space-HuggingFace-8A2BE2?logo=huggingface" alt="Hugging Face Space">
204
  </a>
205
- <a href="https://meanaudio.github.io/">
206
- <img src="https://img.shields.io/badge/Project-Page-brightred?style=flat" alt="Project Page">
207
  </a>
208
- <a href="https://github.com/xiquan-li/MeanAudio">
209
- <img src="https://img.shields.io/badge/Code-GitHub-black?logo=github" alt="GitHub">
210
  </a>
211
- </div>
 
 
 
212
  """
213
 
214
 
@@ -224,10 +226,9 @@ gr_interface = gr.Interface(
224
  flagging_mode="never",
225
  examples=[
226
  ["Guitar and piano playing a warm music, with a soft and gentle melody, perfect for a romantic evening.", 10, 3, 1, "meanaudio_s_full", 42],
227
- ["Melodic human whistling harmonizing with natural birdsong", 10, 3, 1, "meanaudio_s_full"],
228
  ["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion", 10, 3, 1, "meanaudio_s_full", 42],
229
  ["Quiet speech and then and airplane flying away", 10, 3, 1, "meanaudio_s_full", 42],
230
- ["The sound of a steam engine.", 10, 3, 1, "meanaudio_s_full", 42],
231
  ["A basketball bounces rhythmically on a court, shoes squeak against the floor, and a referee’s whistle cuts through the air", 10, 3, 1, "meanaudio_s_full", 42],
232
  ["Chopping meat on a wooden table.", 10, 3, 1, "meanaudio_s_full", 42],
233
  ["A vehicle engine revving then accelerating at a high rate as a metal surface is whipped followed by tires skidding.", 10, 3, 1, "meanaudio_s_full", 42],
 
193
 
194
 
195
  description_text = """
196
+ <div style="font-size: 16px;">
197
+ <strong>MeanAudio</strong> is a novel text-to-audio generator that uses <strong>MeanFlow</strong> to synthesize realistic and faithful audio in few sampling steps. It achieves state-of-the-art performance in single-step audio generation and delivers strong performance in multi-step audio generation.
198
+ </div>
199
 
200
+ <div style="text-align: center; margin: 20px 0;">
201
+ <a href="https://huggingface.co/AndreasXi/MeanAudio" target="_blank">
202
+ <img src="https://img.shields.io/badge/🤗%20Model-HuggingFace-violet" alt="HuggingFace Model" style="margin: 5px;">
 
 
 
203
  </a>
204
+ <a href="https://huggingface.co/spaces/chenxie95/MeanAudio" target="_blank">
205
+ <img src="https://img.shields.io/badge/🚀%20Space-HuggingFace-8A2BE2" alt="HuggingFace Space" style="margin: 5px;">
206
  </a>
207
+ <a href="https://meanaudio.github.io/" target="_blank">
208
+ <img src="https://img.shields.io/badge/📄%20Project-Page-brightred" alt="Project Page" style="margin: 5px;">
209
  </a>
210
+ <a href="https://github.com/xiquan-li/MeanAudio" target="_blank">
211
+ <img src="https://img.shields.io/badge/💻%20Code-GitHub-black" alt="GitHub" style="margin: 5px;">
212
+ </a>
213
+ </div>
214
  """
215
 
216
 
 
226
  flagging_mode="never",
227
  examples=[
228
  ["Guitar and piano playing a warm music, with a soft and gentle melody, perfect for a romantic evening.", 10, 3, 1, "meanaudio_s_full", 42],
229
+ ["Melodic human whistling harmonizing with natural birdsong", 10, 3, 1, "meanaudio_s_full", 42],
230
  ["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion", 10, 3, 1, "meanaudio_s_full", 42],
231
  ["Quiet speech and then and airplane flying away", 10, 3, 1, "meanaudio_s_full", 42],
 
232
  ["A basketball bounces rhythmically on a court, shoes squeak against the floor, and a referee’s whistle cuts through the air", 10, 3, 1, "meanaudio_s_full", 42],
233
  ["Chopping meat on a wooden table.", 10, 3, 1, "meanaudio_s_full", 42],
234
  ["A vehicle engine revving then accelerating at a high rate as a metal surface is whipped followed by tires skidding.", 10, 3, 1, "meanaudio_s_full", 42],