Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -282,7 +282,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
282 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
283 |
|
284 |
with gr.Accordion(label="Music Generation Options", open=False):
|
285 |
-
openai_api_key = gr.Textbox(label="OpenAI
|
286 |
track_duration = gr.Slider(minimum=20, maximum=120, value=30, step=5, label="Track duration", elem_id="duration-inp")
|
287 |
with gr.Row():
|
288 |
gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
|
|
|
282 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
283 |
|
284 |
with gr.Accordion(label="Music Generation Options", open=False):
|
285 |
+
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.")
|
286 |
track_duration = gr.Slider(minimum=20, maximum=120, value=30, step=5, label="Track duration", elem_id="duration-inp")
|
287 |
with gr.Row():
|
288 |
gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
|