Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
·
af2026a
1
Parent(s):
9424f09
return .npz file
Browse files- cloning/clonevoice.py +1 -1
cloning/clonevoice.py
CHANGED
@@ -65,4 +65,4 @@ def clone_voice(audio_filepath, dest_filename, progress=gradio.Progress(track_tq
|
|
65 |
import numpy as np
|
66 |
output_path = dest_filename + '.npz'
|
67 |
np.savez(output_path, fine_prompt=codes, coarse_prompt=codes[:2, :], semantic_prompt=semantic_tokens)
|
68 |
-
return "Finished"
|
|
|
65 |
import numpy as np
|
66 |
output_path = dest_filename + '.npz'
|
67 |
np.savez(output_path, fine_prompt=codes, coarse_prompt=codes[:2, :], semantic_prompt=semantic_tokens)
|
68 |
+
return ["Finished", output_path]
|