Text-to-Speech
coqui

Automatic terms of use agreement during model load

#7
by vitaliy-sharandin - opened

How to automatically accept terms of use during initial model load in code, as it stops execution?
tts = TTS(tts_models/multilingual/multi-dataset/xtts_v2).to('cuda')

Please check XTTS space demo code for that https://huggingface.co/spaces/coqui/xtts

To save everyone's time, the answer is to set environment variable:
os.environ["COQUI_TOS_AGREED"] = "1"

gorkemgoknar changed discussion status to closed

Sign up or log in to comment