DLI-SLQ commited on
Commit
c040c42
·
1 Parent(s): c4a9b80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def synthesize_speech(text):
30
  return error_audio_data, "NSFW content detected. Cannot process."
31
 
32
  model_path = hf_hub_download(repo_id="DLI-SLQ/speaker_01234", filename="speaker__01234_model.onnx")
33
- config_path = hf_hub_download(repo_id="DLI-SLQ/speaker_01234", filename="speaker__1234_model.onnx.json")
34
 
35
  voice = PiperVoice.load(model_path, config_path)
36
 
 
30
  return error_audio_data, "NSFW content detected. Cannot process."
31
 
32
  model_path = hf_hub_download(repo_id="DLI-SLQ/speaker_01234", filename="speaker__01234_model.onnx")
33
+ config_path = hf_hub_download(repo_id="DLI-SLQ/speaker_01234", filename="speaker__01234_model.onnx.json")
34
 
35
  voice = PiperVoice.load(model_path, config_path)
36