update
Browse files
app.py
CHANGED
@@ -355,7 +355,7 @@ hr {
|
|
355 |
}
|
356 |
"""
|
357 |
with gr.Blocks(title="MeanAudio Generator", theme=theme, css=custom_css) as demo:
|
358 |
-
gr.Markdown("# MeanAudio:Fast and Faithful Text-to-Audio Generation with Mean Flows", elem_id="main-header")
|
359 |
# 使用 gr.HTML 替代 gr.Markdown
|
360 |
badge_html = '''
|
361 |
<div id="project-badges"> <!-- 使用 ID
|
@@ -445,9 +445,8 @@ with gr.Blocks(title="MeanAudio Generator", theme=theme, css=custom_css) as demo
|
|
445 |
outputs=[generate_output_text, audio_output],
|
446 |
)
|
447 |
audio_examples = [
|
448 |
-
["A speech and gunfire followed by a gun being loaded", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
449 |
["Typing on a keyboard", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
450 |
-
["A man speaks followed by a popping noise and laughter", "", 10.0, 3,
|
451 |
["Some humming followed by a toilet flushing", "", 10.0, 3, 2, 42, "meanaudio_mf"],
|
452 |
["Rain falling on a hard surface as thunder roars in the distance", "", 10.0, 3, 5, 42, "meanaudio_mf"],
|
453 |
["Food sizzling and oil popping", "", 10.0, 3, 25, 42, "meanaudio_mf"],
|
@@ -455,6 +454,7 @@ with gr.Blocks(title="MeanAudio Generator", theme=theme, css=custom_css) as demo
|
|
455 |
["A few seconds of silence then a rasping sound against wood", "", 12.0, 3, 2, 42, "meanaudio_mf"],
|
456 |
["A man speaks as he gives a speech and then the crowd cheers", "", 10.0, 3, 25, 42, "fluxaudio_fm"],
|
457 |
["A goat bleating repeatedly", "", 10.0, 3, 50, 123, "fluxaudio_fm"],
|
|
|
458 |
["Tires squealing followed by an engine revving", "", 12.0, 4, 25, 456, "fluxaudio_fm"],
|
459 |
["Hammer slowly hitting the wooden table", "", 10.0, 3.5, 25, 42, "fluxaudio_fm"],
|
460 |
["Dog barking excitedly and man shouting as race car engine roars past", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
|
|
355 |
}
|
356 |
"""
|
357 |
with gr.Blocks(title="MeanAudio Generator", theme=theme, css=custom_css) as demo:
|
358 |
+
gr.Markdown("# MeanAudio: Fast and Faithful Text-to-Audio Generation with Mean Flows", elem_id="main-header")
|
359 |
# 使用 gr.HTML 替代 gr.Markdown
|
360 |
badge_html = '''
|
361 |
<div id="project-badges"> <!-- 使用 ID
|
|
|
445 |
outputs=[generate_output_text, audio_output],
|
446 |
)
|
447 |
audio_examples = [
|
|
|
448 |
["Typing on a keyboard", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
449 |
+
["A man speaks followed by a popping noise and laughter", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
450 |
["Some humming followed by a toilet flushing", "", 10.0, 3, 2, 42, "meanaudio_mf"],
|
451 |
["Rain falling on a hard surface as thunder roars in the distance", "", 10.0, 3, 5, 42, "meanaudio_mf"],
|
452 |
["Food sizzling and oil popping", "", 10.0, 3, 25, 42, "meanaudio_mf"],
|
|
|
454 |
["A few seconds of silence then a rasping sound against wood", "", 12.0, 3, 2, 42, "meanaudio_mf"],
|
455 |
["A man speaks as he gives a speech and then the crowd cheers", "", 10.0, 3, 25, 42, "fluxaudio_fm"],
|
456 |
["A goat bleating repeatedly", "", 10.0, 3, 50, 123, "fluxaudio_fm"],
|
457 |
+
["A speech and gunfire followed by a gun being loaded", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|
458 |
["Tires squealing followed by an engine revving", "", 12.0, 4, 25, 456, "fluxaudio_fm"],
|
459 |
["Hammer slowly hitting the wooden table", "", 10.0, 3.5, 25, 42, "fluxaudio_fm"],
|
460 |
["Dog barking excitedly and man shouting as race car engine roars past", "", 10.0, 3, 1, 42, "meanaudio_mf"],
|