forked from mrq/tortoise-tts
oops
This commit is contained in:
parent
a37546ad99
commit
716e227953
2
app.py
2
app.py
|
@ -236,7 +236,7 @@ def read_generate_settings(file, save_latents=True):
|
||||||
del j['latents']
|
del j['latents']
|
||||||
|
|
||||||
if latents and save_latents:
|
if latents and save_latents:
|
||||||
outdir='/voices/.temp/'
|
outdir='./voices/.temp/'
|
||||||
os.makedirs(outdir, exist_ok=True)
|
os.makedirs(outdir, exist_ok=True)
|
||||||
with open(f'{outdir}/cond_latents.pth', 'wb') as f:
|
with open(f'{outdir}/cond_latents.pth', 'wb') as f:
|
||||||
f.write(latents)
|
f.write(latents)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user