KingNish commited on
Commit
dce5b4e
·
verified ·
1 Parent(s): 4c600ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -336,7 +336,7 @@ with gr.Blocks() as demo:
336
  genre_txt = gr.Textbox(label="Genre")
337
  lyrics_txt = gr.Textbox(label="Lyrics")
338
  use_audio_prompt = gr.Checkbox(label="Use Audio Prompt?", value=False)
339
- audio_prompt_input = gr.Audio(source="upload", type="filepath", label="Audio Prompt (Optional)")
340
  with gr.Column():
341
  num_segments = gr.Number(label="Number of Segments", value=2, interactive=True)
342
  max_new_tokens = gr.Slider(label="Duration of song", minimum=1, maximum=30, step=1, value=15, interactive=True)
 
336
  genre_txt = gr.Textbox(label="Genre")
337
  lyrics_txt = gr.Textbox(label="Lyrics")
338
  use_audio_prompt = gr.Checkbox(label="Use Audio Prompt?", value=False)
339
+ audio_prompt_input = gr.Audio(type="filepath", label="Audio Prompt (Optional)")
340
  with gr.Column():
341
  num_segments = gr.Number(label="Number of Segments", value=2, interactive=True)
342
  max_new_tokens = gr.Slider(label="Duration of song", minimum=1, maximum=30, step=1, value=15, interactive=True)