anzorq commited on
Commit
d2a8042
•
1 Parent(s): 9028f64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -246,7 +246,7 @@ with gr.Blocks() as app:
246
  gr.Markdown("## Riffusion Demo")
247
  gr.Markdown("""Generate audio using the [Riffusion](https://huggingface.co/riffusion/riffusion-model-v1) model.<br>
248
  In single prompt mode you can generate up to ~1 minute of audio with smooth transitions between sections. (beta)<br>
249
- Bi-prompt mode interpolates between two prompts. It can generate up to ~2 minutes of audio, but the transitions between sections are more abrupt.""")
250
  gr.Markdown(f"""Running on {"**GPU 🔥**" if torch.cuda.is_available() else f"**CPU 🥶**. For faster inference it is recommended to **upgrade to GPU in space's Settings**"}<br>
251
  [![Duplicate Space](https://bit.ly/3gLdBN6)](https://huggingface.co/spaces/$space_id?duplicate=true)""")
252
 
@@ -262,8 +262,8 @@ with gr.Blocks() as app:
262
  feel = gr.Dropdown(["og_beat", "agile", "vibes", "motorway", "marim"], value="og_beat", label="Feel")
263
  seed = gr.Slider(minimum=0, maximum=4294967295, value=0, step=1, label="Seed (0 for random)")
264
 
265
- info = gr.Markdown()
266
  btn_generate = gr.Button(value="Generate").style(full_width=True)
 
267
  with gr.Column():
268
  video = gr.Video()
269
 
 
246
  gr.Markdown("## Riffusion Demo")
247
  gr.Markdown("""Generate audio using the [Riffusion](https://huggingface.co/riffusion/riffusion-model-v1) model.<br>
248
  In single prompt mode you can generate up to ~1 minute of audio with smooth transitions between sections. (beta)<br>
249
+ Bi-prompt mode interpolates between two prompts. It can generate up to ~2 minutes of audio, but transitions between sections are more abrupt.""")
250
  gr.Markdown(f"""Running on {"**GPU 🔥**" if torch.cuda.is_available() else f"**CPU 🥶**. For faster inference it is recommended to **upgrade to GPU in space's Settings**"}<br>
251
  [![Duplicate Space](https://bit.ly/3gLdBN6)](https://huggingface.co/spaces/$space_id?duplicate=true)""")
252
 
 
262
  feel = gr.Dropdown(["og_beat", "agile", "vibes", "motorway", "marim"], value="og_beat", label="Feel")
263
  seed = gr.Slider(minimum=0, maximum=4294967295, value=0, step=1, label="Seed (0 for random)")
264
 
 
265
  btn_generate = gr.Button(value="Generate").style(full_width=True)
266
+ info = gr.Markdown()
267
  with gr.Column():
268
  video = gr.Video()
269