Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from audio_style_transfer.models import timedomain
|
|
| 3 |
|
| 4 |
def audioStyleTransfer(content,style):
|
| 5 |
print (style,content)
|
| 6 |
-
output = ""
|
| 7 |
timedomain.run( style_fname=style, content_fname=content ,output_fname=output, n_fft=4096,
|
| 8 |
n_filters=4096,
|
| 9 |
hop_length=512,
|
|
|
|
| 3 |
|
| 4 |
def audioStyleTransfer(content,style):
|
| 5 |
print (style,content)
|
| 6 |
+
output = "/tmp/outputfile.wav"
|
| 7 |
timedomain.run( style_fname=style, content_fname=content ,output_fname=output, n_fft=4096,
|
| 8 |
n_filters=4096,
|
| 9 |
hop_length=512,
|