Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -273,12 +273,21 @@ output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
|
273 |
denoising_steps = gr.Slider(minimum=100, maximum=200, value=100, step=1, label="Steps", interactive=True)
|
274 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
# Gradio interface
|
277 |
gr_interface = gr.Interface(
|
278 |
fn=gradio_generate,
|
279 |
inputs=[input_text, output_format, denoising_steps, guidance_scale],
|
280 |
outputs=[output_audio],
|
281 |
-
title="
|
|
|
|
|
282 |
allow_flagging=False,
|
283 |
examples=[
|
284 |
["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
|
|
|
273 |
denoising_steps = gr.Slider(minimum=100, maximum=200, value=100, step=1, label="Steps", interactive=True)
|
274 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
275 |
|
276 |
+
css = """
|
277 |
+
footer {
|
278 |
+
visibility: hidden;
|
279 |
+
}
|
280 |
+
"""
|
281 |
+
|
282 |
+
|
283 |
# Gradio interface
|
284 |
gr_interface = gr.Interface(
|
285 |
fn=gradio_generate,
|
286 |
inputs=[input_text, output_format, denoising_steps, guidance_scale],
|
287 |
outputs=[output_audio],
|
288 |
+
title="SoundAI by tango",
|
289 |
+
theme="Yntec/HaleyCH_Theme_Orange",
|
290 |
+
css=css,
|
291 |
allow_flagging=False,
|
292 |
examples=[
|
293 |
["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
|