fffiloni commited on
Commit
92a21ac
β€’
1 Parent(s): c061723

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -296,7 +296,7 @@ with gr.Blocks(css="style.css") as demo:
296
 
297
  with gr.Accordion(label="Music Generation Options", open=False):
298
  openai_api_key = gr.Textbox(type="password", label="πŸ” Your OpenAI API Key (optional)", placeholder="sk-123abc...", info="You can use your OpenAI key to adapt CLIP Interrogator caption to a musical translation.")
299
- track_duration = gr.Slider(minimum=20, maximum=120, value=42, ustep=5, label="Track duration", elem_id="duration-inp")
300
  with gr.Row():
301
  gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
302
  gen_mode = gr.Radio(label="mode", choices=["track", "loop"], value="loop")
 
296
 
297
  with gr.Accordion(label="Music Generation Options", open=False):
298
  openai_api_key = gr.Textbox(type="password", label="πŸ” Your OpenAI API Key (optional)", placeholder="sk-123abc...", info="You can use your OpenAI key to adapt CLIP Interrogator caption to a musical translation.")
299
+ track_duration = gr.Slider(minimum=20, maximum=120, value=55, ustep=5, label="Track duration", elem_id="duration-inp")
300
  with gr.Row():
301
  gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
302
  gen_mode = gr.Radio(label="mode", choices=["track", "loop"], value="loop")