mirror of https://github.com/coqui-ai/TTS.git
remove noise
This commit is contained in:
parent
d60a8d7211
commit
7cada1a949
|
@ -103,7 +103,6 @@ class AudioProcessor(object):
|
||||||
self.do_sound_norm = do_sound_norm
|
self.do_sound_norm = do_sound_norm
|
||||||
self.stats_path = stats_path
|
self.stats_path = stats_path
|
||||||
# setup exp_func for db to amp conversion
|
# setup exp_func for db to amp conversion
|
||||||
print(f"self.log_func = {log_func}")
|
|
||||||
exec(f"self.log_func = {log_func}") # pylint: disable=exec-used
|
exec(f"self.log_func = {log_func}") # pylint: disable=exec-used
|
||||||
if self.log_func.__name__ == "log":
|
if self.log_func.__name__ == "log":
|
||||||
self.exp_func = np.exp
|
self.exp_func = np.exp
|
||||||
|
|
Loading…
Reference in New Issue