Do0rMaMu commited on
Commit
155ab6b
·
verified ·
1 Parent(s): d04d5e6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -7,7 +7,7 @@ from piper.voice import PiperVoice
7
  app = FastAPI()
8
 
9
  # Load the voice model
10
- model_path = 'model.onnx'
11
  voice = PiperVoice.load(model_path)
12
 
13
  @app.post("/synthesize/")
 
7
  app = FastAPI()
8
 
9
  # Load the voice model
10
+ model_path = 'model_female.onnx'
11
  voice = PiperVoice.load(model_path)
12
 
13
  @app.post("/synthesize/")