modified: app.py
Browse files
app.py
CHANGED
@@ -131,8 +131,6 @@ def generate_music(
|
|
131 |
):
|
132 |
if use_audio_prompt and not audio_prompt_path:
|
133 |
raise FileNotFoundError("Please offer audio prompt filepath using '--audio_prompt_path', when you enable 'use_audio_prompt'!")
|
134 |
-
|
135 |
-
model = model
|
136 |
cuda_idx = cuda_idx
|
137 |
max_new_tokens = max_new_tokens*100
|
138 |
stage1_output_dir = os.path.join(output_dir, f"stage1")
|
|
|
131 |
):
|
132 |
if use_audio_prompt and not audio_prompt_path:
|
133 |
raise FileNotFoundError("Please offer audio prompt filepath using '--audio_prompt_path', when you enable 'use_audio_prompt'!")
|
|
|
|
|
134 |
cuda_idx = cuda_idx
|
135 |
max_new_tokens = max_new_tokens*100
|
136 |
stage1_output_dir = os.path.join(output_dir, f"stage1")
|