Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -151,6 +151,11 @@ async def main(
|
|
151 |
onnx_model = onnx_models
|
152 |
model, config = load_onnx(onnx_model, sess_options, providers)
|
153 |
config["espeak"]["voice"] = speaker
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
# lan.load_language(speaker)
|
156 |
|
|
|
151 |
onnx_model = onnx_models
|
152 |
model, config = load_onnx(onnx_model, sess_options, providers)
|
153 |
config["espeak"]["voice"] = speaker
|
154 |
+
|
155 |
+
config["inference"]["noise_scale"] = noise_scale_slider
|
156 |
+
config["inference"]["length_scale"] = speed_slider
|
157 |
+
config["inference"]["noise_w"] = noise_scale_w_slider
|
158 |
+
|
159 |
|
160 |
# lan.load_language(speaker)
|
161 |
|