Gregniuki commited on
Commit
60c4763
·
1 Parent(s): 47df4a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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