KingNish commited on
Commit
83d2924
·
verified ·
1 Parent(s): 9b33e59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -326,7 +326,7 @@ def generate_music(
326
  return None, None, None
327
 
328
  # ------------------ Inference function and Gradio UI ------------------ #
329
- def infer(genre_txt_content, lyrics_txt_content, num_segments=2, max_new_tokens=5):
330
  try:
331
  mixed_audio_data, vocal_audio_data, instrumental_audio_data = generate_music(
332
  genre_txt=genre_txt_content,
 
326
  return None, None, None
327
 
328
  # ------------------ Inference function and Gradio UI ------------------ #
329
+ def infer(genre_txt_content, lyrics_txt_content, num_segments=2, max_new_tokens=25):
330
  try:
331
  mixed_audio_data, vocal_audio_data, instrumental_audio_data = generate_music(
332
  genre_txt=genre_txt_content,