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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: f5_th_onnx-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b10c243a7dd56b3dd3ef11908e62f8c9f8b88a767050593c041a48136a811282
MD5 34a868b3e72961a1bd60daaf1709dc66
BLAKE2b-256 13fdb3a6ad85d5c1b95907adfc8f2f5a4e2595f6c4ccc8a121a09991014c8e5e

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