TTS / app.py
Hassan-16's picture
Update app.py
799287a verified
raw
history blame
294 Bytes
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.")