File size: 294 Bytes
ee617da
 
799287a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os

required_files = [
    "model/kokoro-v1_0.pth",
    "model/config.json",
    # Add other essential files here
]

for file in required_files:
    if not os.path.exists(file):
        print(f"Error: Required file {file} not found!")
    else:
        print(f"File {file} is present.")