kevinwang676 commited on
Commit
31c99fb
1 Parent(s): 9cabf4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -16,8 +16,7 @@ import sys
16
  import io
17
  import wave
18
  from datetime import datetime
19
- #from fairseq import checkpoint_utils
20
- from load_model import load_model_ensemble_and_task
21
  import urllib.request
22
  import zipfile
23
  import shutil
@@ -345,7 +344,7 @@ def combine_vocal_and_inst(model_name, song_name, song_id, split_model, cover_so
345
 
346
  def load_hubert():
347
  global hubert_model
348
- models, _, _ = load_model_ensemble_and_task( #checkpoint_utils.load_model_ensemble_and_task(
349
  ["hubert_base.pt"],
350
  suffix="",
351
  )
 
16
  import io
17
  import wave
18
  from datetime import datetime
19
+ from fairseq import checkpoint_utils
 
20
  import urllib.request
21
  import zipfile
22
  import shutil
 
344
 
345
  def load_hubert():
346
  global hubert_model
347
+ models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
348
  ["hubert_base.pt"],
349
  suffix="",
350
  )