Skip to main content

No project description provided

Project description

Project logo

Document-to-podcast: a Blueprint by Mozilla.ai for generating podcasts from documents using local AI

Docs Tests Ruff

This blueprint demonstrate how you can use open-source models & tools to convert input documents into a podcast featuring two speakers. It is designed to work on most local setups, meaning no external API calls or GPU access is required. This makes it more accessible and privacy-friendly by keeping everything local.

document-to-podcast Diagram

📘 To explore this project further and discover other Blueprints, visit the Blueprints Hub.

Example Results

https://github.com/user-attachments/assets/0487640b-a800-4c60-96ae-f1b93632a87b

https://github.com/user-attachments/assets/0d5364e7-a57b-4976-8cb6-4ebf1cbbd37c


👉 📖 For more detailed guidance on using this project, please visit our Docs.

👉 🔨 Built with

👉 🧠 Check the Supported Models.

Quick-start

Get started right away using one of the options below:

Google Colab HuggingFace Spaces GitHub Codespaces
Try on Colab Try on Spaces Try on Codespaces

You can also install and use the blueprint locally:

Command Line Interface

pip install document-to-podcast
document-to-podcast \
--input_file "example_data/Mozilla-Trustworthy_AI.pdf" \
--output_folder "example_data"
--text_to_text_model "Qwen/Qwen2.5-1.5B-Instruct-GGUF/qwen2.5-1.5b-instruct-q8_0.gguf"

Graphical Interface App

git clone https://github.com/mozilla-ai/document-to-podcast.git
cd document-to-podcast
pip install -e .
python -m streamlit run demo/app.py

System requirements

  • OS: Windows, macOS, or Linux
  • Python 3.10+ / 3.12+ for Apple M chips
  • Minimum RAM: 8 GB
  • Disk space: 20 GB minimum

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Contributing

Contributions are welcome! To get started, you can check out the CONTRIBUTING.md file.

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

document_to_podcast-1.4.4.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

document_to_podcast-1.4.4-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file document_to_podcast-1.4.4.tar.gz.

File metadata

  • Download URL: document_to_podcast-1.4.4.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for document_to_podcast-1.4.4.tar.gz
Algorithm Hash digest
SHA256 5225fc6679d2308639e96f334fce9f735deeb91f7482a652512f353f06e181a6
MD5 37a83df4a1748485826efc68717eab61
BLAKE2b-256 b60365b741b58e6fca728380e9b153947c8e6fc9d7f6446615fa8743820d1c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for document_to_podcast-1.4.4.tar.gz:

Publisher: release.yaml on mozilla-ai/document-to-podcast

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file document_to_podcast-1.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for document_to_podcast-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f995c2ca5b85cd02627feeb79b9e01e0ee0c615cb8fb5761c67a21a49f9f885a
MD5 6c3308c5ac0e9b5696cab744bc532502
BLAKE2b-256 b82451abe3fba9c4f874c782f46f93ce9a99254b95158b583454bba76bf9bb93

See more details on using hashes here.

Provenance

The following attestation bundles were made for document_to_podcast-1.4.4-py3-none-any.whl:

Publisher: release.yaml on mozilla-ai/document-to-podcast

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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