soujanyaporia commited on
Commit
0c677ad
1 Parent(s): 8a529c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -102,7 +102,7 @@ def gradio_generate(prompt, steps, guidance):
102
  # Using this ChatGPT-generated description of the sound, TANGO provides superior results.
103
  # <p/>
104
  # """
105
- description_text = ""
106
  # Gradio input and output components
107
  input_text = gr.Textbox(lines=2, label="Prompt")
108
  output_audio = gr.Audio(label="Generated Audio", type="filepath")
@@ -118,16 +118,22 @@ gr_interface = gr.Interface(
118
  description=description_text,
119
  allow_flagging=False,
120
  examples=[
121
- ["A lady is singing a song with a kid"],
122
- ["The sound of the water lapping against the hull of the boat or splashing as you move through the waves"],
 
 
 
 
 
123
  ["An audience cheering and clapping"],
124
  ["Rolling thunder with lightning strikes"],
 
125
  ["Gentle water stream, birds chirping and sudden gun shot"],
126
- ["A car engine revving"],
127
  ["A dog barking"],
128
  ["A cat meowing"],
129
  ["Wooden table tapping sound while water pouring"],
130
- ["Emergency sirens wailing"],
131
  ["two gunshots followed by birds flying away while chirping"],
132
  ["Whistling with birds chirping"],
133
  ["A person snoring"],
 
102
  # Using this ChatGPT-generated description of the sound, TANGO provides superior results.
103
  # <p/>
104
  # """
105
+ description_text = "Read the paper: https://arxiv.org/abs/2304.13731"
106
  # Gradio input and output components
107
  input_text = gr.Textbox(lines=2, label="Prompt")
108
  output_audio = gr.Audio(label="Generated Audio", type="filepath")
 
118
  description=description_text,
119
  allow_flagging=False,
120
  examples=[
121
+ ["Quiet speech and then and airplane flying away"],
122
+ ["A bicycle peddling on dirt and gravel followed by a man speaking then laughing"],
123
+ ["Ducks quack and water splashes with some animal screeching in the background"],
124
+ ["Describe the sound of the ocean"],
125
+ ["A woman and a baby are having a conversation"],
126
+ ["A man speaks followed by a popping noise and laughter"],
127
+ ["A cup is filled from a faucet"],
128
  ["An audience cheering and clapping"],
129
  ["Rolling thunder with lightning strikes"],
130
+ ["A dog barking and a cat mewing and a racing car passes by"],
131
  ["Gentle water stream, birds chirping and sudden gun shot"],
132
+ ["A man talking followed by a goat baaing then a metal gate sliding shut as ducks quack and wind blows into a microphone."],
133
  ["A dog barking"],
134
  ["A cat meowing"],
135
  ["Wooden table tapping sound while water pouring"],
136
+ ["Applause from a crowd with distant clicking and a man speaking over a loudspeaker"],
137
  ["two gunshots followed by birds flying away while chirping"],
138
  ["Whistling with birds chirping"],
139
  ["A person snoring"],