Jahmori commited on
Commit
896f6de
·
1 Parent(s): 3565428

- changed sync bucket back to .local

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def process_audio(mixture):
52
 
53
 
54
  # Downloads RE-SepFormer model from huggingface buckets to space local directory
55
- sync_bucket("hf://buckets/Jahmori-R/PureVoiceAISpace-storage","./models" )
56
 
57
  # ---------------------------------------------------------
58
  # INITIALIZE MODELS
@@ -62,7 +62,7 @@ def process_audio(mixture):
62
 
63
  #Loading Resepformer Model
64
  try:
65
- separator = SepformerSeparation.from_hparams(source=f"./models/resepformer-librimix2spk",hparams_file="hyperparams.yaml",run_opts={"device": "cuda"})
66
 
67
  # separator = SepformerSeparation.from_hparams(
68
  # source="Jahmori-R/resepformer-librimix2spk",
 
52
 
53
 
54
  # Downloads RE-SepFormer model from huggingface buckets to space local directory
55
+ sync_bucket("hf://buckets/Jahmori-R/PureVoiceAISpace-storage","./local" )
56
 
57
  # ---------------------------------------------------------
58
  # INITIALIZE MODELS
 
62
 
63
  #Loading Resepformer Model
64
  try:
65
+ separator = SepformerSeparation.from_hparams(source=f"./local/resepformer-librimix2spk",hparams_file="hyperparams.yaml",run_opts={"device": "cuda"})
66
 
67
  # separator = SepformerSeparation.from_hparams(
68
  # source="Jahmori-R/resepformer-librimix2spk",