Skip to main content

Text-to-Speech (TTS) ภาษาไทย — เครื่องมือสร้างเสียงพูดจากข้อความ ด้วยโมเดล F5-TTS ที่ปรับแต่งให้อยู่ในรูปแบบ ONNX ให้สามารถรันบน GPU ขนาดเล็กกว่าและใช้ทรัพยากรน้อยกว่า

Project description

F5-TH-ONNX

Text-to-Speech (TTS) ภาษาไทย — เครื่องมือสร้างเสียงพูดจากข้อความ ด้วยโมเดล F5-TTS ที่ปรับแต่งให้อยู่ในรูปแบบ ONNX ให้สามารถรันบน GPU ขนาดเล็กกว่าและใช้ทรัพยากรน้อยกว่า

ติดตั้ง

pip install f5-th-onnx

การใช้งาน

from f5_th_onnx import TTS

TTS(
    ref_audio="YOUR_AUDIO_PATH",
    ref_text="นี่คือเสียงพูดต้นฉบับ.", 
    gen_text="สวัสดีครับ นี่คือเสียงพูดภาษาไทย.", 
    speed=1.0,
    output="generated.wav"
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

f5_th_onnx-0.0.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file f5_th_onnx-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: f5_th_onnx-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for f5_th_onnx-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c7aa354837eb729082830c3eec648b752ab9dcfd82697bf00fbc9af924535e83
MD5 97b3019f82fb4818fc6a38a114138bf7
BLAKE2b-256 930605c65afa5f5afd795c504fdbb892fb63398de3f3266719c7ca1d5b1d80b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page