ASLP-lab commited on
Commit
2e9828f
·
verified ·
1 Parent(s): 183fdab

add space gpu

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -224,8 +224,8 @@ device='cuda'
224
  dtype=torch.float16
225
  diffrhythm2, mulan, lrc_tokenizer, decoder = prepare_model("ASLP-Lab/DiffRhythm2", device, dtype)
226
 
227
- # import spaces
228
- # @spaces.GPU
229
  def infer_music(
230
  lrc,
231
  current_prompt_type,
 
224
  dtype=torch.float16
225
  diffrhythm2, mulan, lrc_tokenizer, decoder = prepare_model("ASLP-Lab/DiffRhythm2", device, dtype)
226
 
227
+ import spaces
228
+ @spaces.GPU
229
  def infer_music(
230
  lrc,
231
  current_prompt_type,