mirror of https://github.com/coqui-ai/TTS.git
linter fix
This commit is contained in:
parent
0cdb100536
commit
b46498ca68
|
@ -58,8 +58,7 @@ abbreviations_fr = [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1])
|
||||||
('ex', 'exemple'),
|
('ex', 'exemple'),
|
||||||
('excl', 'exclusivement'),
|
('excl', 'exclusivement'),
|
||||||
('boul', 'boulevard'),
|
('boul', 'boulevard'),
|
||||||
]] + [(re.compile('\\b%s' % x[0]), x[1])
|
]] + [(re.compile('\\b%s' % x[0]), x[1]) for x in [
|
||||||
for x in [
|
|
||||||
('Mlle', 'mademoiselle'),
|
('Mlle', 'mademoiselle'),
|
||||||
('Mlles', 'mesdemoiselles'),
|
('Mlles', 'mesdemoiselles'),
|
||||||
('Mme', 'Madame'),
|
('Mme', 'Madame'),
|
||||||
|
|
|
@ -24,4 +24,5 @@ def test_pqmf():
|
||||||
print(w2_.max())
|
print(w2_.max())
|
||||||
print(w2_.min())
|
print(w2_.min())
|
||||||
print(w2_.mean())
|
print(w2_.mean())
|
||||||
sf.write(os.path.join(get_tests_output_path(),'pqmf_output.wav'), w2_.flatten().detach(), sr)
|
sf.write(os.path.join(get_tests_output_path(), 'pqmf_output.wav'),
|
||||||
|
w2_.flatten().detach(), sr)
|
||||||
|
|
|
@ -25,4 +25,5 @@ def test_pqmf():
|
||||||
print(w2_.max())
|
print(w2_.max())
|
||||||
print(w2_.min())
|
print(w2_.min())
|
||||||
print(w2_.mean())
|
print(w2_.mean())
|
||||||
sf.write(os.path.join(get_tests_output_path(),'tf_pqmf_output.wav'), w2_.flatten(), sr)
|
sf.write(os.path.join(get_tests_output_path(), 'tf_pqmf_output.wav'),
|
||||||
|
w2_.flatten(), sr)
|
||||||
|
|
Loading…
Reference in New Issue