Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ async def main(
|
|
150 |
elif isinstance(onnx_models, str):
|
151 |
onnx_model = onnx_models
|
152 |
model, config = load_onnx(onnx_model, sess_options, providers)
|
153 |
-
config["espeak"]["voice"]
|
154 |
|
155 |
# lan.load_language(speaker)
|
156 |
|
|
|
150 |
elif isinstance(onnx_models, str):
|
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 |
|