Spaces:
Running
on
Zero
Running
on
Zero
soujanyaporia
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ Generate high quality and faithful audio in just a few seconds using <b>TangoFlu
|
|
77 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
78 |
#output_format = gr.Radio(label = "Output format", info = "The file you can dowload", choices = "wav"], value = "wav")
|
79 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
80 |
-
denoising_steps = gr.Slider(minimum=10, maximum=100, value=
|
81 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=4.5, step=0.5, label="Guidance Scale", interactive=True)
|
82 |
duration_scale = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
83 |
|
@@ -92,7 +92,6 @@ gr_interface = gr.Interface(
|
|
92 |
allow_flagging=False,
|
93 |
examples=[
|
94 |
["Generate the festive sounds of a fireworks show: explosions lighting up the sky, crowd cheering, and the faint music playing in the background!! Celebration of the new year!"],
|
95 |
-
['doorbell ding once followed by footsteps gradually getting louder and a door is opened '],
|
96 |
["Melodic human whistling harmonizing with natural birdsong"],
|
97 |
["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion"],
|
98 |
["Quiet speech and then and airplane flying away"],
|
@@ -102,6 +101,7 @@ gr_interface = gr.Interface(
|
|
102 |
["A cow is mooing whilst a lion is roaring in the background as a hunter shoots. A flock of birds subsequently fly away from the trees."],
|
103 |
["The deep growl of an alligator ripples through the swamp as reeds sway with a soft rustle and a turtle splashes into the murky water"],
|
104 |
["Gentle female voice cooing and baby responding with happy gurgles and giggles"],
|
|
|
105 |
["A fork scrapes a plate, water drips slowly into a sink, and the faint hum of a refrigerator lingers in the background"],
|
106 |
["Powerful ocean waves crashing and receding on sandy beach with distant seagulls"],
|
107 |
["Emulate the lively sounds of a retro arcade: 8-bit game music, coins clinking. People cheering occasionally when players winning"],
|
|
|
77 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
78 |
#output_format = gr.Radio(label = "Output format", info = "The file you can dowload", choices = "wav"], value = "wav")
|
79 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
80 |
+
denoising_steps = gr.Slider(minimum=10, maximum=100, value=50, step=5, label="Steps", interactive=True)
|
81 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=4.5, step=0.5, label="Guidance Scale", interactive=True)
|
82 |
duration_scale = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
83 |
|
|
|
92 |
allow_flagging=False,
|
93 |
examples=[
|
94 |
["Generate the festive sounds of a fireworks show: explosions lighting up the sky, crowd cheering, and the faint music playing in the background!! Celebration of the new year!"],
|
|
|
95 |
["Melodic human whistling harmonizing with natural birdsong"],
|
96 |
["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion"],
|
97 |
["Quiet speech and then and airplane flying away"],
|
|
|
101 |
["A cow is mooing whilst a lion is roaring in the background as a hunter shoots. A flock of birds subsequently fly away from the trees."],
|
102 |
["The deep growl of an alligator ripples through the swamp as reeds sway with a soft rustle and a turtle splashes into the murky water"],
|
103 |
["Gentle female voice cooing and baby responding with happy gurgles and giggles"],
|
104 |
+
['doorbell ding once followed by footsteps gradually getting louder and a door is opened '],
|
105 |
["A fork scrapes a plate, water drips slowly into a sink, and the faint hum of a refrigerator lingers in the background"],
|
106 |
["Powerful ocean waves crashing and receding on sandy beach with distant seagulls"],
|
107 |
["Emulate the lively sounds of a retro arcade: 8-bit game music, coins clinking. People cheering occasionally when players winning"],
|