Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -139,9 +139,10 @@ Generate audio using Tango2 by providing a text prompt. Tango2 was built from Ta
|
|
139 |
# Gradio input and output components
|
140 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
141 |
output_format = gr.Radio(label = "Output format", info = "The file you can download", choices = ["mp3", "wav"], value = "wav")
|
142 |
-
output_audio_1 = gr.Audio(label="Generated Audio
|
143 |
-
|
144 |
-
|
|
|
145 |
denoising_steps = gr.Slider(minimum=100, maximum=200, value=100, step=1, label="Steps", interactive=True)
|
146 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
147 |
|
|
|
139 |
# Gradio input and output components
|
140 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
141 |
output_format = gr.Radio(label = "Output format", info = "The file you can download", choices = ["mp3", "wav"], value = "wav")
|
142 |
+
output_audio_1 = gr.Audio(label="Generated Audio", type="filepath")
|
143 |
+
# output_audio_1 = gr.Audio(label="Generated Audio #1/3", type="filepath")
|
144 |
+
# output_audio_2 = gr.Audio(label="Generated Audio #2/3", type="filepath")
|
145 |
+
# output_audio_3 = gr.Audio(label="Generated Audio #3/3", type="filepath")
|
146 |
denoising_steps = gr.Slider(minimum=100, maximum=200, value=100, step=1, label="Steps", interactive=True)
|
147 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
148 |
|