Itanutiwari527 commited on
Commit
4c147f1
·
verified ·
1 Parent(s): 01508f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import sys
2
  import os
 
 
 
 
3
  # By using XTTS you agree to CPML license https://coqui.ai/cpml
4
  os.environ["COQUI_TOS_AGREED"] = "1"
5
 
 
1
  import sys
2
  import os
3
+ import torch
4
+ from TTS.tts.configs.xtts_config import XttsConfig
5
+
6
+ torch.serialization.add_safe_globals([XttsConfig])
7
  # By using XTTS you agree to CPML license https://coqui.ai/cpml
8
  os.environ["COQUI_TOS_AGREED"] = "1"
9