Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
6b5ba9c
1
Parent(s):
406e977
Fix format
Browse files- melo/api.py +1 -1
melo/api.py
CHANGED
@@ -113,4 +113,4 @@ class TTS(nn.Module):
|
|
113 |
if output_path is None:
|
114 |
return audio
|
115 |
else:
|
116 |
-
soundfile.write(output_path, audio, self.hps.data.sampling_rate, format)
|
|
|
113 |
if output_path is None:
|
114 |
return audio
|
115 |
else:
|
116 |
+
soundfile.write(output_path, audio, self.hps.data.sampling_rate, format=format)
|