KingNish commited on
Commit
344c223
·
1 Parent(s): 5bb3bd1

modified: app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
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")