Update app.py
Browse files
app.py
CHANGED
|
@@ -7,9 +7,12 @@ import os
|
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
from scipy.io import wavfile
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# TODO#2 - Loading the Coqui TTS Model
|
| 11 |
model_name = TTS.list_models()[0]
|
| 12 |
-
tts = TTS(model_name)
|
| 13 |
|
| 14 |
# TODO#3 - Defining Voice Selection
|
| 15 |
avilable_speakers = [
|
|
|
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
from scipy.io import wavfile
|
| 9 |
|
| 10 |
+
|
| 11 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 12 |
+
|
| 13 |
# TODO#2 - Loading the Coqui TTS Model
|
| 14 |
model_name = TTS.list_models()[0]
|
| 15 |
+
tts = TTS(model_name)
|
| 16 |
|
| 17 |
# TODO#3 - Defining Voice Selection
|
| 18 |
avilable_speakers = [
|