Open studionexus-lk opened 3 weeks ago
@studionexus-lk Thanks for sharing!
Would you like to update our doc to include it?
The source code for the doc is located at https://github.com/k2-fsa/sherpa/tree/master/docs/source/onnx
You can find how it is rendered at https://k2-fsa.github.io/sherpa/onnx/index.html
I wish I could, but i don't how to use GitHub and lack of experience Using GitHub.. can you update it or let me know how, then I'll do it by my side
but i don't how to use GitHub and lack of experience Using GitHub
please read https://github.com/firstcontributions/first-contributions for how to contribute to a repo.
you can also search with google for how to contribute
As for adding to the doc, we are using sphinx RST to write the doc, which is similar to markdown.
Please refer to https://www.sphinx-doc.org/en/master/tutorial/index.html for how to using sphinx RST.
You can also have a look at our existing doc source code.
If you have any issues, please feel free to ask.
TTS Service Implementation Guide
npm init -y
Install the required packages:
npm install express body-parser sherpa-onnx-node
2.2. Create the server.js File
2.3. Create the index.html File Place this file in the public/ directory:
cd path/to/tts-service
Start the Server: Run the following command to start the server.
node server.js
Access the Service: Open a web browser and navigate to http://localhost:3000. You should see the Text-to-Speech Service interface where you can enter text, click the button, and listen to the generated speech.