Open sankexin opened 2 months ago
download by yourself and modify:
snacmodel = SNAC.from_pretrained("hubertsiuzdak/snac_24khz").eval().to(device) => snacmodel = SNAC.from_pretrained(repo_id="hubertsiuzdak/snac_24khz", local_dir=f"/root/mini-omni/snac_24khz", local_files_only=True).eval().to(device)
download by yourself and modify:
snacmodel = SNAC.from_pretrained("hubertsiuzdak/snac_24khz").eval().to(device) => snacmodel = SNAC.from_pretrained(repo_id="hubertsiuzdak/snac_24khz", local_dir=f"/root/mini-omni/snac_24khz", local_files_only=True).eval().to(device)