This commit is contained in:
mrq 2023-02-09 02:39:08 +00:00
parent a37546ad99
commit 716e227953

2
app.py
View File

@ -236,7 +236,7 @@ def read_generate_settings(file, save_latents=True):
del j['latents']
if latents and save_latents:
outdir='/voices/.temp/'
outdir='./voices/.temp/'
os.makedirs(outdir, exist_ok=True)
with open(f'{outdir}/cond_latents.pth', 'wb') as f:
f.write(latents)