Spaces:
Build error
Build error
j
commited on
Commit
·
bbd5603
1
Parent(s):
a99646d
process_fn needs filename as return value
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ def process_fn(input_audio_path, seed, guidance_scale, num_inference_steps, num_
|
|
| 20 |
|
| 21 |
sf.write("./output.wav", waveform[0, 0], samplerate=16000)
|
| 22 |
#save_wave(waveform, "./", name="output.wav")
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
card = ModelCard(
|
|
|
|
| 20 |
|
| 21 |
sf.write("./output.wav", waveform[0, 0], samplerate=16000)
|
| 22 |
#save_wave(waveform, "./", name="output.wav")
|
| 23 |
+
return "./output.wav"
|
| 24 |
|
| 25 |
|
| 26 |
card = ModelCard(
|