zhzluke96 commited on
Commit
c5dfbfb
1 Parent(s): eacaabb
modules/Enhancer/ResembleEnhance.py CHANGED
@@ -1,8 +1,12 @@
1
  import os
2
  from typing import List
3
- from resemble_enhance.enhancer.enhancer import Enhancer
4
- from resemble_enhance.enhancer.hparams import HParams
5
- from resemble_enhance.inference import inference
 
 
 
 
6
 
7
  import torch
8
 
 
1
  import os
2
  from typing import List
3
+
4
+ try:
5
+ from resemble_enhance.enhancer.enhancer import Enhancer
6
+ from resemble_enhance.enhancer.hparams import HParams
7
+ from resemble_enhance.inference import inference
8
+ except:
9
+ pass
10
 
11
  import torch
12
 
requirements.txt CHANGED
@@ -23,6 +23,4 @@ emojiswitch
23
  python-dotenv
24
  zhon
25
  mistune==3.0.2
26
- cn2an
27
- audio_denoiser
28
- resemble-enhance
 
23
  python-dotenv
24
  zhon
25
  mistune==3.0.2
26
+ cn2an