kjysmu commited on
Commit
5fff329
1 Parent(s): f1a5bcb

modify app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -856,7 +856,7 @@ with gr.Blocks(css=css) as demo:
856
  input_video = gr.Video(label="Input Video", max_length=299)
857
  with gr.Row():
858
  with gr.Row():
859
- input_primer = gr.Textbox(label="Input Primer", value="C Am F G", info="Supported types: dim, sus4, min7(m7), min(m), sus2, aug, dim7, maj6(M6), hdim7, 7, min6(m6), maj7(M7)")
860
  input_key = gr.Dropdown(choices=all_key_names, value="C major", label="Input Key")
861
  with gr.Row():
862
  btn = gr.Button("Generate")
@@ -866,7 +866,7 @@ with gr.Blocks(css=css) as demo:
866
  input_video_yt = gr.Textbox(label="YouTube URL")
867
  with gr.Row():
868
  with gr.Row():
869
- input_primer_yt = gr.Textbox(label="Input Primer", value="C Am F G", info="Supported types: dim, sus4, min7(m7), min(m), sus2, aug, dim7, maj6(M6), hdim7, 7, min6(m6), maj7(M7)")
870
  input_key_yt = gr.Dropdown(choices=all_key_names, value="C major", label="Input Key")
871
  with gr.Row():
872
  btn_yt = gr.Button("Generate")
 
856
  input_video = gr.Video(label="Input Video", max_length=299)
857
  with gr.Row():
858
  with gr.Row():
859
+ input_primer = gr.Textbox(label="Input Primer", placeholder="(e.g., C Am F G)", value="", info="Supported types: dim, sus4, min7(m7), min(m), sus2, aug, dim7, maj6(M6), hdim7, 7, min6(m6), maj7(M7)")
860
  input_key = gr.Dropdown(choices=all_key_names, value="C major", label="Input Key")
861
  with gr.Row():
862
  btn = gr.Button("Generate")
 
866
  input_video_yt = gr.Textbox(label="YouTube URL")
867
  with gr.Row():
868
  with gr.Row():
869
+ input_primer_yt = gr.Textbox(label="Input Primer", placeholder="(e.g., C Am F G)", value="", info="Supported types: dim, sus4, min7(m7), min(m), sus2, aug, dim7, maj6(M6), hdim7, 7, min6(m6), maj7(M7)")
870
  input_key_yt = gr.Dropdown(choices=all_key_names, value="C major", label="Input Key")
871
  with gr.Row():
872
  btn_yt = gr.Button("Generate")