Abrahamau commited on
Commit
78384ac
·
verified ·
1 Parent(s): 44726b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ def guessanAge(model, image):
27
 
28
  @spaces.GPU(duration=120)
29
  def text2speech(text, sample):
 
30
  print(TTS().list_models())
31
  if len(text) > 0:
32
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")
 
27
 
28
  @spaces.GPU(duration=120)
29
  def text2speech(text, sample):
30
+ os.environ["COQUI_TOS_AGREED"] = "1"
31
  print(TTS().list_models())
32
  if len(text) > 0:
33
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")