Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -204,19 +204,20 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 204 |
with gr.Column(elem_id="col-container"):
|
| 205 |
gr.Markdown("""
|
| 206 |
# EzAudio: High-quality Text-to-Audio Generator
|
| 207 |
-
Generate and edit audio from text using a diffusion transformer.
|
| 208 |
|
| 209 |
-
|
| 210 |
|
| 211 |
-
|
| 212 |
|
| 213 |
""")
|
|
|
|
| 214 |
|
| 215 |
|
| 216 |
# Tabs for Generate and Edit
|
| 217 |
with gr.Tab("Audio Generation"):
|
| 218 |
# Basic Input: Text prompt
|
| 219 |
-
with gr.Row():
|
| 220 |
text_input = gr.Textbox(
|
| 221 |
label="Text Prompt",
|
| 222 |
show_label=True,
|
|
@@ -227,7 +228,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 227 |
scale=4
|
| 228 |
)
|
| 229 |
# Run button
|
| 230 |
-
run_button = gr.Button("Generate", scale=1)
|
| 231 |
|
| 232 |
# Output Component
|
| 233 |
result = gr.Audio(label="Generated Audio", type="numpy")
|
|
|
|
| 204 |
with gr.Column(elem_id="col-container"):
|
| 205 |
gr.Markdown("""
|
| 206 |
# EzAudio: High-quality Text-to-Audio Generator
|
| 207 |
+
π Generate and edit audio from text using a diffusion transformer.
|
| 208 |
|
| 209 |
+
π‘ Adjust advanced settings for more control.
|
| 210 |
|
| 211 |
+
π Learn more about π£**EzAudio** on the [EzAudio Homepage](https://haidog-yaqub.github.io/EzAudio-Page/).
|
| 212 |
|
| 213 |
""")
|
| 214 |
+
# π The **EzAudio-ControlNet (Energy Envelope)** demo is now live! Try it on [π€EzAudio-ControlNet Space](https://huggingface.co/spaces/OpenSound/EzAudio-ControlNet).
|
| 215 |
|
| 216 |
|
| 217 |
# Tabs for Generate and Edit
|
| 218 |
with gr.Tab("Audio Generation"):
|
| 219 |
# Basic Input: Text prompt
|
| 220 |
+
with gr.Row(equal_height=True):
|
| 221 |
text_input = gr.Textbox(
|
| 222 |
label="Text Prompt",
|
| 223 |
show_label=True,
|
|
|
|
| 228 |
scale=4
|
| 229 |
)
|
| 230 |
# Run button
|
| 231 |
+
run_button = gr.Button("Generate", variant="primary", scale=1)
|
| 232 |
|
| 233 |
# Output Component
|
| 234 |
result = gr.Audio(label="Generated Audio", type="numpy")
|