autotools's picture
Add files using upload-large-folder tool
8dae870 verified
Raw
History Blame Contribute Delete
397 Bytes
from core.cloner import KokoClone
# Initialize the cloner (Auto-downloads models if missing, and auto-detects CPU/GPU)
cloner = KokoClone()
# Generate your cloned audio!
cloner.generate(
text="Welcome to KokoClone! This is incredibly easy to use.",
lang="en",
reference_audio="ss.wav", # Replace with your actual reference audio file
output_path="english_output.wav"
)