MycroftAI / mimic3

A fast local neural text to speech engine for Mycroft
GNU Affero General Public License v3.0
1.08k stars 103 forks source link

voices.json en_US/cmu-arctic_low metadata is incorrect #50

Open bhiln opened 1 year ago

bhiln commented 1 year ago

Describe the bug Incorrect voices.json information: en_US/cmu-arctic_low/config.json filesize and hash are incorrect in voices.json. They are currently:

To Reproduce Steps to reproduce the behavior:

  1. In terminal, download voice by running:
    mimic3 "Hello" --voice en_US/cmu-arctic_low
  2. Use Mimic3 Python utilities to compare expected and actual sha256_sum and size_bytes:
    import os
    import mimic3_tts
    print("Expected", mimic3_tts._resources._VOICES["en_US/cmu-arctic_low"]["files"]["config.json"])
    file_path = os.path.join(mimic3_tts.download.DEFAULT_VOICES_DOWNLOAD_DIR, "en_US/cmu-arctic_low/config.json")
    print("Actual size_bytes", os.path.getsize(file_path))
    with open(file_path, "rb") as f:
    print("Actual sha256_sum", mimic3_tts.utils.file_sha256_sum(f))
  3. Notice that expected does not match actual.

Expected behavior Expected should match actual in step 2 above.

Log files N/A

Environment (please complete the following information): N/A

Additional context N/A