Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|