Salman11223 commited on
Commit
cdb6c48
·
verified ·
1 Parent(s): bcbd508

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -23,6 +23,11 @@ for filename, url in model_files.items():
23
  with open(file_path, 'wb') as f:
24
  f.write(r.content)
25
 
 
 
 
 
 
26
  # Initialize TTS model
27
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=True)
28
 
 
23
  with open(file_path, 'wb') as f:
24
  f.write(r.content)
25
 
26
+
27
+
28
+ # Confirm licensing or agreement to terms
29
+ confirm_license = input("Have you purchased a commercial license from Coqui or agree to the terms of the non-commercial CPML? (y/n): ") or "y"
30
+
31
  # Initialize TTS model
32
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=True)
33