yaoxunji commited on
Commit
98cc349
·
verified ·
1 Parent(s): ba04fa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import torch
3
  import torchaudio
4
  import yaml
5
- from models.gense import N2S, S2S
6
 
7
 
8
  class AttrDict(dict):
@@ -30,8 +30,8 @@ def inference(noisy_path):
30
 
31
  from huggingface_hub import hf_hub_download
32
  config_path = hf_hub_download(repo_id="yaoxunji/gense", filename="gense.yaml")
33
- n2s_ckpt_path = hf_hub_download(repo_id="yaoxunji/gense", filename="n2s_xlsr.ckpt")
34
- s2s_ckpt_path = hf_hub_download(repo_id="yaoxunji/gense", filename="s2s_xlsr.ckpt")
35
 
36
 
37
 
 
2
  import torch
3
  import torchaudio
4
  import yaml
5
+ from models.gense_wavlm import N2S, S2S
6
 
7
 
8
  class AttrDict(dict):
 
30
 
31
  from huggingface_hub import hf_hub_download
32
  config_path = hf_hub_download(repo_id="yaoxunji/gense", filename="gense.yaml")
33
+ n2s_ckpt_path = hf_hub_download(repo_id="yaoxunji/gense", filename="n2s_wavlm.ckpt")
34
+ s2s_ckpt_path = hf_hub_download(repo_id="yaoxunji/gense", filename="s2s_wavlm.ckpt")
35
 
36
 
37