Spaces:
Runtime error
Runtime error
Commit
Β·
f017614
1
Parent(s):
4279593
update
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def infer_music(lrc, ref_audio_path, steps, file_type, cfg_strength, odeint_meth
|
|
48 |
lrc_prompt, start_time = get_lrc_token(max_frames, lrc, tokenizer, device)
|
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 is not None:
|
53 |
print("text style prompt")
|
54 |
style_prompt = get_text_style_prompt(muq, prompt)
|
|
|
48 |
lrc_prompt, start_time = get_lrc_token(max_frames, lrc, tokenizer, device)
|
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 is not None:
|
53 |
print("text style prompt")
|
54 |
style_prompt = get_text_style_prompt(muq, prompt)
|