Skip to main content

Open Source Text-to-Speech (TTS) ภาษาไทย — เครื่องมือสร้างเสียงพูดจากข้อความด้วยเทคนิค Flow Matching

Project description

F5-TTS-TH

Text-to-Speech (TTS) ภาษาไทย — เครื่องมือสร้างเสียงพูดจากข้อความด้วยเทคนิค Flow Matching ด้วยโมเดล F5-TTS

  • 🔥 สถาปัตยกรรม: F5-TTS

🚀 เริ่มต้นใช้งาน

ติดตั้ง

pip install f5-tts-th

การใช้งาน

from f5_tts_th.tts import infer
import soundfile as sf

wav = infer(
    ref_audio="YOUR_AUDIO_PATH",
    ref_text="ได้รับข่าวคราวของเราที่จะหาที่มันเป็นไปที่จะจัดขึ้น.",
    gen_text="สวัสดีครับ นี่คือเสียงพูดภาษาไทย.",
    step=32,
    cfg=2.0,
    speed=1.0
)

sf.write("test.wav", wav, 24000)

Project details


Download files

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

Source Distribution

f5_tts_th-1.0.3.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

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

f5_tts_th-1.0.3-py3-none-any.whl (13.2 MB view details)

Uploaded Python 3

File details

Details for the file f5_tts_th-1.0.3.tar.gz.

File metadata

  • Download URL: f5_tts_th-1.0.3.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for f5_tts_th-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fcf96b882e4b3201db152af6627e3681337da54335527e388e98c25a48e2a76a
MD5 6b5a5347c01cc46979fc05fe323cf019
BLAKE2b-256 f47ca13e2dada57f87d53f7b221c3ee59ec3488eafb3939c87bbe0967fa060cb

See more details on using hashes here.

File details

Details for the file f5_tts_th-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: f5_tts_th-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for f5_tts_th-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c2397145d3016b1171f4bf18155645e2c05146b561787215c7121c9fde3d883
MD5 db1766ea1047f4d3e51a87668d19d6d2
BLAKE2b-256 ae26442e76218002fe4346cb116972c79ab1db0b4e1635d8c39f2a4cec914863

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