kokoclone / inference.py
PatnaikAshish's picture
Upload 5 files
b72a5dc 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"
)