anzorq commited on
Commit
0a78870
1 Parent(s): 9319481

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -275,19 +275,19 @@ with gr.Blocks(css=css) as app:
275
  with gr.Row():
276
  with gr.Group():
277
  with gr.Row():
278
- prompt_1 = gr.Textbox(lines=1, label="Start from", placeholder="Starting prompt")
279
- prompt_2 = gr.Textbox(lines=1, label="End with (optional)", placeholder="Prompt to shift towards at the end")
280
  with gr.Row():
281
  steps = gr.Slider(minimum=1, maximum=100, value=25, label="Steps per section")
282
  num_iterations = gr.Slider(minimum=2, maximum=25, value=2, step=1, label="Number of sections")
283
  with gr.Row():
284
- feel = gr.Dropdown(["og_beat", "agile", "vibes", "motorway", "marim"], value="og_beat", label="Feel")
285
- seed = gr.Slider(minimum=0, maximum=4294967295, value=0, step=1, label="Seed (0 for random)")
286
 
287
  btn_generate = gr.Button(value="Generate").style(full_width=True)
288
  info = gr.Markdown()
289
  with gr.Column():
290
- video = gr.Video()
291
 
292
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
293
  community_icon = gr.HTML(community_icon_html, visible=False)
 
275
  with gr.Row():
276
  with gr.Group():
277
  with gr.Row():
278
+ prompt_1 = gr.Textbox(lines=1, label="Start from", placeholder="Starting prompt", elem_id="riff-prompt_1")
279
+ prompt_2 = gr.Textbox(lines=1, label="End with (optional)", placeholder="Prompt to shift towards at the end", elem_id="riff-prompt_2")
280
  with gr.Row():
281
  steps = gr.Slider(minimum=1, maximum=100, value=25, label="Steps per section")
282
  num_iterations = gr.Slider(minimum=2, maximum=25, value=2, step=1, label="Number of sections")
283
  with gr.Row():
284
+ feel = gr.Dropdown(["og_beat", "agile", "vibes", "motorway", "marim"], value="og_beat", label="Feel", elem_id="riff-feel")
285
+ seed = gr.Slider(minimum=0, maximum=4294967295, value=0, step=1, label="Seed (0 for random)", elem_id="riff-seed")
286
 
287
  btn_generate = gr.Button(value="Generate").style(full_width=True)
288
  info = gr.Markdown()
289
  with gr.Column():
290
+ video = gr.Video(elem_id="riff-video")
291
 
292
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
293
  community_icon = gr.HTML(community_icon_html, visible=False)