soujanyaporia commited on
Commit
d480115
·
verified ·
1 Parent(s): 837bddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -49,7 +49,7 @@ def gradio_generate(prompt, steps, guidance,duration=10):
49
  #return output_filename
50
 
51
  description_text = """
52
- Generate high quality and faithful audio in just a few seconds using <b>TangoFlux</b> by providing a text prompt. <b>TangoFlux</b> was trained from scratch and underwent alignment to follow human instructions using a new method called <b>Claped-Ranked Preference Optimization (CRPO)</b>.
53
  <div style="display: flex; gap: 10px; align-items: center;">
54
  <a href="https://arxiv.org/abs/2412.21037">
55
  <img src="https://img.shields.io/badge/Read_the_Paper-blue?link=https%3A%2F%2Fopenreview.net%2Fattachment%3Fid%3DtpJPlFTyxd%26name%3Dpdf" alt="arXiv">
@@ -89,7 +89,6 @@ gr_interface = gr.Interface(
89
  description=description_text,
90
  allow_flagging=False,
91
  examples=[
92
- ["Create the underwater soundscape: gentle waves, faint whale calls, and the occasional clink of scuba gear"],
93
  ["Recreate the sounds of an active volcano: rumbling earth, lava bubbling, and the occasional loud explosive roar of an eruption"],
94
  ["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion"],
95
  ["A soccer ball hits a goalpost with a metallic clang, followed by cheers, clapping, and the distant hum of a commentator’s voice"],
@@ -97,13 +96,16 @@ gr_interface = gr.Interface(
97
  ["A basketball bounces rhythmically on a court, shoes squeak against the floor, and a referee’s whistle cuts through the air"],
98
  ["A train conductor blows a sharp whistle, metal wheels screech on the rails, and passengers murmur while settling into their seats"],
99
  ["A fork scrapes a plate, water drips slowly into a sink, and the faint hum of a refrigerator lingers in the background"],
 
100
  ["Alarms blare with rising urgency as fragments clatter against a metallic hull, interrupted by a faint hiss of escaping air"],
101
  ["Tiny pops and hisses of chemical reactions intermingle with the rhythmic pumping of a centrifuge and the soft whirr of air filtration"],
102
  ["A train conductor blows a sharp whistle, metal wheels screech on the rails, and passengers murmur while settling into their seats"],
103
  ["Simulate a forest ambiance with birds chirping and wind rustling through the leaves"],
 
104
  ["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
105
  ["Clear sound of bicycle tires crunching on loose gravel and dirt, followed by deep male laughter echoing"],
106
  ["Multiple ducks quacking loudly with splashing water and piercing wild animal shriek in background"],
 
107
  ["Create a serene soundscape of a quiet beach at sunset"],
108
  ["A pile of coins spills onto a wooden table with a metallic clatter, followed by the hushed murmur of a tavern crowd and the creak of a swinging door"],
109
  ["Generate an energetic and bustling city street scene with distant traffic and close conversations"],
 
49
  #return output_filename
50
 
51
  description_text = """
52
+ Generate high quality and faithful audio in just a few seconds using <b>TangoFlux</b> by providing a text prompt. <b>TangoFlux</b> was trained from scratch and underwent alignment to follow human instructions using a new method called <b>CLAP-Ranked Preference Optimization (CRPO)</b>.
53
  <div style="display: flex; gap: 10px; align-items: center;">
54
  <a href="https://arxiv.org/abs/2412.21037">
55
  <img src="https://img.shields.io/badge/Read_the_Paper-blue?link=https%3A%2F%2Fopenreview.net%2Fattachment%3Fid%3DtpJPlFTyxd%26name%3Dpdf" alt="arXiv">
 
89
  description=description_text,
90
  allow_flagging=False,
91
  examples=[
 
92
  ["Recreate the sounds of an active volcano: rumbling earth, lava bubbling, and the occasional loud explosive roar of an eruption"],
93
  ["A parade marches through a town square, with drumbeats pounding, children clapping, and a horse neighing amidst the commotion"],
94
  ["A soccer ball hits a goalpost with a metallic clang, followed by cheers, clapping, and the distant hum of a commentator’s voice"],
 
96
  ["A basketball bounces rhythmically on a court, shoes squeak against the floor, and a referee’s whistle cuts through the air"],
97
  ["A train conductor blows a sharp whistle, metal wheels screech on the rails, and passengers murmur while settling into their seats"],
98
  ["A fork scrapes a plate, water drips slowly into a sink, and the faint hum of a refrigerator lingers in the background"],
99
+ ["Emulate the lively sounds of a retro arcade: 8-bit game music, coins clinking. People cheering occasionally when players winning"],
100
  ["Alarms blare with rising urgency as fragments clatter against a metallic hull, interrupted by a faint hiss of escaping air"],
101
  ["Tiny pops and hisses of chemical reactions intermingle with the rhythmic pumping of a centrifuge and the soft whirr of air filtration"],
102
  ["A train conductor blows a sharp whistle, metal wheels screech on the rails, and passengers murmur while settling into their seats"],
103
  ["Simulate a forest ambiance with birds chirping and wind rustling through the leaves"],
104
+ ["Emulate the lively sounds of a retro arcade: 8-bit game music, coins clinking. People cheering occasionally when players winning"],
105
  ["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
106
  ["Clear sound of bicycle tires crunching on loose gravel and dirt, followed by deep male laughter echoing"],
107
  ["Multiple ducks quacking loudly with splashing water and piercing wild animal shriek in background"],
108
+ ["Create the underwater soundscape: gentle waves, faint whale calls, and the occasional clink of scuba gear"],
109
  ["Create a serene soundscape of a quiet beach at sunset"],
110
  ["A pile of coins spills onto a wooden table with a metallic clatter, followed by the hushed murmur of a tavern crowd and the creak of a swinging door"],
111
  ["Generate an energetic and bustling city street scene with distant traffic and close conversations"],