cfm_svc / fix_infer_frames.py
Hector Li
Initial commit for Hugging Face
df93d13
with open('infer.py', 'r') as f:
text = f.read()
text = text.replace('max_frames = 2000', 'max_frames = 400')
text = text.replace('overlap_frames = 100', 'overlap_frames = 50')
with open('infer.py', 'w') as f:
f.write(text)