Spaces:
Build error
Build error
ddd commited on
Commit ·
c99418d
1
Parent(s): 763ca1e
fix gradio on space
Browse files23 unmodified lines2425262728293023 unmodified linesload_ckpt(model, hparams['work_dir'], 'model')if hparams.get('pe_enable') is not None and hparams['pe_enable']:self.pe = PitchExtractor().cuda()utils.load_ckpt(self.pe, hparams['pe_ckpt'], 'model', strict=True)self.pe.eval()return model23 unmodified lines2425262728293023 unmodified linesload_ckpt(model, hparams['work_dir'], 'model')if hparams.get('pe_enable') is not None and hparams['pe_enable']:self.pe = PitchExtractor().to(self.device)utils.load_ckpt(self.pe, hparams['pe_ckpt'], 'model', strict=True)self.pe.eval()return model
inference/svs/ds_e2e.py+1-1