cocktailpeanut commited on
Commit
b47e0bf
Β·
1 Parent(s): 97f861e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def infer_music(lrc, ref_audio_path, steps, file_type, cfg_strength, odeint_meth
49
  # style_prompt = get_style_prompt(muq, ref_audio_path, prompt)
50
 
51
  if prompt is not None:
52
- style_prompt = get_text_style_prompt(muq, text_prompt)
53
  else:
54
  style_prompt, vocal_flag = get_audio_style_prompt(muq, ref_audio_path)
55
 
 
49
  # style_prompt = get_style_prompt(muq, ref_audio_path, prompt)
50
 
51
  if prompt is not None:
52
+ style_prompt = get_text_style_prompt(muq, prompt)
53
  else:
54
  style_prompt, vocal_flag = get_audio_style_prompt(muq, ref_audio_path)
55