Spaces:
Runtime error
Runtime error
Update audio_style_transfer/models/timedomain.py
Browse files
audio_style_transfer/models/timedomain.py
CHANGED
@@ -322,9 +322,9 @@ def run(content_fname,
|
|
322 |
iterations=iterations)
|
323 |
|
324 |
s = unchop(result, hop_size=hop_length, frame_size=frame_size)
|
325 |
-
sf.write(output_fname, s, sr
|
326 |
s = utils.limiter(s)
|
327 |
-
sf.write(output_fname+'.limiter.wav', s,
|
328 |
|
329 |
|
330 |
def batch(content_path, style_path, output_path, model):
|
|
|
322 |
iterations=iterations)
|
323 |
|
324 |
s = unchop(result, hop_size=hop_length, frame_size=frame_size)
|
325 |
+
sf.write(output_fname, s, sr)
|
326 |
s = utils.limiter(s)
|
327 |
+
sf.write(output_fname+'.limiter.wav', s,sr)
|
328 |
|
329 |
|
330 |
def batch(content_path, style_path, output_path, model):
|