kevinwang676 commited on
Commit
25c6499
·
verified ·
1 Parent(s): ca05ee5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -350,14 +350,9 @@ def combine_vocal_and_inst(model_name, song_name, song_id, split_model, cover_so
350
  return output_path
351
 
352
  @spaces.GPU()
353
- def load_fairseq():
354
- from fairseq import checkpoint_utils
355
-
356
-
357
  def load_hubert():
358
  global hubert_model
359
- #from fairseq import checkpoint_utils
360
- load_fairseq()
361
  models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
362
  ["hubert_base.pt"],
363
  suffix="",
 
350
  return output_path
351
 
352
  @spaces.GPU()
 
 
 
 
353
  def load_hubert():
354
  global hubert_model
355
+ from fairseq import checkpoint_utils
 
356
  models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
357
  ["hubert_base.pt"],
358
  suffix="",