Skip to main content

Dia-JAX: A JAX port of Dia, the text-to-speech model for generating realistic dialogue from text with emotion and tone control.

Project description

Dia-JAX

An experimental JAX port of Dia, the 1.6B parameter text-to-speech model from Nari Labs

Quickstart

Note: Currently only recommended for experimental/development use due to memory issues

output.mp3

pip install diajax
dia --text "[S1] Dear Jacks, to generate audio from text from any machine. (applause) [S2] Really? (screams) How! [S1] With flakes and an axe. (chuckles)"
import diajax
model, config = diajax.load()
output = diajax.generate(model, config, text)
diajax.save(output)

Acknowledgments

This project is a port of the original Dia model by Nari Labs. We thank them for releasing their model and code, which made this port possible.

License

This project is licensed under the same terms as the original Dia model. See LICENSE for details.

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

diajax-0.0.2a2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

diajax-0.0.2a2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file diajax-0.0.2a2.tar.gz.

File metadata

  • Download URL: diajax-0.0.2a2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for diajax-0.0.2a2.tar.gz
Algorithm Hash digest
SHA256 6eccdc13ad9d25a23a7b4d9ab4a35bcad92dc2c6afcb13524b4fd0f2e5ca5fd3
MD5 76d37663b90733c00eeea28ca641727a
BLAKE2b-256 85f0e97e6f74c58285ea951b88aea97ffa87296b62415098138814141917b9ad

See more details on using hashes here.

File details

Details for the file diajax-0.0.2a2-py3-none-any.whl.

File metadata

  • Download URL: diajax-0.0.2a2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for diajax-0.0.2a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d02e56975f3240fe66b8fe1feb105cd91aa8c3cd393853590ba61cd6158decfd
MD5 e7b77a8dcaa4bc74fa4e4b697926e0fd
BLAKE2b-256 5888183551a5a95e4d2be18b765551b4384ede8ccbe8cc7c2d7ba950e155a403

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