fffiloni commited on
Commit
5ab821b
β€’
1 Parent(s): ee50cff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 key", 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")
 
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")