soujanyaporia commited on
Commit
889515b
·
1 Parent(s): d1da17a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def gradio_generate(prompt, steps, guidance,duration=10):
49
 
50
  description_text = """
51
  <p><a href="https://huggingface.co/spaces/declare-lab/tango2/blob/main/app.py?duplicate=true"> <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> For faster inference without waiting in queue, you may duplicate the space and upgrade to a GPU in the settings. <br/><br/>
52
- Generate high quality and faithful audio using TangoFlux by providing a text prompt in just a few seconds. TangoFlux was trained from scratch and was undergone alignment using a new method called Claped-Ranked Preference Optimization (CRPO).
53
  <br/><br/> <a href="https://arxiv.org/abs/2412.xxxx">Read our paper.</a>
54
  <p/>
55
  """
@@ -71,9 +71,12 @@ gr_interface = gr.Interface(
71
  description=description_text,
72
  allow_flagging=False,
73
  examples=[
 
74
  ["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
75
  ["Clear sound of bicycle tires crunching on loose gravel and dirt, followed by deep male laughter echoing"],
76
  ["Multiple ducks quacking loudly with splashing water and piercing wild animal shriek in background"],
 
 
77
  ["Powerful ocean waves crashing and receding on sandy beach with distant seagulls"],
78
  ["Gentle female voice cooing and baby responding with happy gurgles and giggles"],
79
  ["Clear male voice speaking, sharp popping sound, followed by genuine group laughter"],
 
49
 
50
  description_text = """
51
  <p><a href="https://huggingface.co/spaces/declare-lab/tango2/blob/main/app.py?duplicate=true"> <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> For faster inference without waiting in queue, you may duplicate the space and upgrade to a GPU in the settings. <br/><br/>
52
+ Generate high quality and faithful audio using <b>TangoFlux</b> by providing a text prompt in just a few seconds. <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
  <br/><br/> <a href="https://arxiv.org/abs/2412.xxxx">Read our paper.</a>
54
  <p/>
55
  """
 
71
  description=description_text,
72
  allow_flagging=False,
73
  examples=[
74
+ ["Simulate a forest ambiance with birds chirping and wind rustling through the leaves"],
75
  ["Quiet whispered conversation gradually fading into distant jet engine roar diminishing into silence"],
76
  ["Clear sound of bicycle tires crunching on loose gravel and dirt, followed by deep male laughter echoing"],
77
  ["Multiple ducks quacking loudly with splashing water and piercing wild animal shriek in background"],
78
+ ["Create a serene soundscape of a quiet beach at sunset"],
79
+ ["Generate an energetic and bustling city street scene with distant traffic and close conversations"],
80
  ["Powerful ocean waves crashing and receding on sandy beach with distant seagulls"],
81
  ["Gentle female voice cooing and baby responding with happy gurgles and giggles"],
82
  ["Clear male voice speaking, sharp popping sound, followed by genuine group laughter"],