Spaces:
Runtime error
Runtime error
Commit
Β·
50c487f
1
Parent(s):
f017614
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 |
print(f"infer_music: lrc={lrc}, ref_audio_path={ref_audio_path}, steps={steps}, file_type={file_type}, cfg_strength={cfg_strength}, odeint_method={odeint_method}, duration={duration}, prompt={prompt}")
|
52 |
-
if prompt
|
53 |
print("text style prompt")
|
54 |
style_prompt = get_text_style_prompt(muq, prompt)
|
55 |
else:
|
|
|
49 |
# style_prompt = get_style_prompt(muq, ref_audio_path, prompt)
|
50 |
|
51 |
print(f"infer_music: lrc={lrc}, ref_audio_path={ref_audio_path}, steps={steps}, file_type={file_type}, cfg_strength={cfg_strength}, odeint_method={odeint_method}, duration={duration}, prompt={prompt}")
|
52 |
+
if prompt:
|
53 |
print("text style prompt")
|
54 |
style_prompt = get_text_style_prompt(muq, prompt)
|
55 |
else:
|