Spaces:
Sleeping
Sleeping
zhzluke96
commited on
Commit
•
c5dfbfb
1
Parent(s):
eacaabb
update
Browse files- modules/Enhancer/ResembleEnhance.py +7 -3
- requirements.txt +1 -3
modules/Enhancer/ResembleEnhance.py
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
import os
|
2 |
from typing import List
|
3 |
-
|
4 |
-
|
5 |
-
from resemble_enhance.
|
|
|
|
|
|
|
|
|
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
|
|
|
|