Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ with iface:
|
|
179 |
font-size: 1.75rem;
|
180 |
"
|
181 |
>
|
182 |
-
<h1 style="font-weight: 900; margin-bottom:
|
183 |
AudioLDM: Text-to-Audio Generation with Latent Diffusion Models
|
184 |
</h1>
|
185 |
</div>
|
@@ -194,7 +194,7 @@ with iface:
|
|
194 |
############# Input
|
195 |
textbox = gr.Textbox(value="A hammer is hitting a wooden surface", max_lines=1, label="Input your text here. Please ensure it is descriptive and of moderate length.")
|
196 |
|
197 |
-
with gr.Accordion("
|
198 |
seed = gr.Number(value=42, label="Change this value (any integer number) will lead to a different generation result.")
|
199 |
duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
|
200 |
guidance_scale = gr.Slider(0, 5, value=2.5, step=0.5, label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)")
|
|
|
179 |
font-size: 1.75rem;
|
180 |
"
|
181 |
>
|
182 |
+
<h1 style="font-weight: 900; margin-bottom: 10px;">
|
183 |
AudioLDM: Text-to-Audio Generation with Latent Diffusion Models
|
184 |
</h1>
|
185 |
</div>
|
|
|
194 |
############# Input
|
195 |
textbox = gr.Textbox(value="A hammer is hitting a wooden surface", max_lines=1, label="Input your text here. Please ensure it is descriptive and of moderate length.")
|
196 |
|
197 |
+
with gr.Accordion("Advanced Options", open=False):
|
198 |
seed = gr.Number(value=42, label="Change this value (any integer number) will lead to a different generation result.")
|
199 |
duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
|
200 |
guidance_scale = gr.Slider(0, 5, value=2.5, step=0.5, label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)")
|