Spaces:
Runtime error
Runtime error
Commit
Β·
b47e0bf
1
Parent(s):
97f861e
update
Browse files
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,
|
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 |
|