Fixed
Browse files
app.py
CHANGED
@@ -9,8 +9,7 @@ model.load_sbv2file_from_path("amitaro", "models/amitaro.sbv2")
|
|
9 |
|
10 |
|
11 |
def generate(text):
|
12 |
-
|
13 |
-
wav_data = model.synthesize(text, "amitaro", style_vector, 0.0, 0.5)
|
14 |
byte_io = io.BytesIO(wav_data)
|
15 |
sr, data = wavfile.read(byte_io)
|
16 |
return sr, data
|
|
|
9 |
|
10 |
|
11 |
def generate(text):
|
12 |
+
wav_data = model.synthesize(text, "amitaro", 0, 0.0, 0.5)
|
|
|
13 |
byte_io = io.BytesIO(wav_data)
|
14 |
sr, data = wavfile.read(byte_io)
|
15 |
return sr, data
|