KingNish commited on
Commit
eeae3fc
·
verified ·
1 Parent(s): 534de89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -555,7 +555,7 @@ with gr.Blocks() as demo:
555
  genre_txt = gr.Textbox(label="Genre", placeholder="e.g. Bass Metalcore Thrash Metal Furious bright vocal male")
556
  lyrics_txt = gr.Textbox(label="Lyrics", placeholder="Paste lyrics with segments such as [verse], [chorus], etc.")
557
  with gr.Column():
558
- num_segments = gr.Number(label="Number of Segments", value=2, interactive=True)
559
  max_new_tokens = gr.Slider(label="Duration of song (sec)", minimum=1, maximum=30, step=1, value=15, interactive=True)
560
  use_audio_prompt = gr.Checkbox(label="Use Audio Prompt", value=False)
561
  audio_prompt_path = gr.Textbox(label="Audio Prompt Filepath (if used)", placeholder="Path to audio file")
 
555
  genre_txt = gr.Textbox(label="Genre", placeholder="e.g. Bass Metalcore Thrash Metal Furious bright vocal male")
556
  lyrics_txt = gr.Textbox(label="Lyrics", placeholder="Paste lyrics with segments such as [verse], [chorus], etc.")
557
  with gr.Column():
558
+ num_segments = gr.Number(label="Number of Segments", value=1, interactive=True)
559
  max_new_tokens = gr.Slider(label="Duration of song (sec)", minimum=1, maximum=30, step=1, value=15, interactive=True)
560
  use_audio_prompt = gr.Checkbox(label="Use Audio Prompt", value=False)
561
  audio_prompt_path = gr.Textbox(label="Audio Prompt Filepath (if used)", placeholder="Path to audio file")