Spaces:
Paused
Paused
Update app.py
Browse files
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=
|
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")
|