Miguel-KokoClone / inference.py
muycontento's picture
Upload 6 files
2893e2f 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"
)