Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nionmaron/speakx-gtts
speakX-gTTS is a user-friendly web application built with Streamlit that allows users to convert written text into spoken audio in multiple languages
https://github.com/nionmaron/speakx-gtts
dockerfile python streamlit tts
Last synced: 20 days ago
JSON representation
speakX-gTTS is a user-friendly web application built with Streamlit that allows users to convert written text into spoken audio in multiple languages
- Host: GitHub
- URL: https://github.com/nionmaron/speakx-gtts
- Owner: nionmaron
- License: cc-by-4.0
- Created: 2024-12-27T14:59:36.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-27T15:11:39.000Z (about 1 month ago)
- Last Synced: 2024-12-27T16:20:54.178Z (about 1 month ago)
- Topics: dockerfile, python, streamlit, tts
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🎤 Multilingual Text-to-Speech Converter
## 🇺🇸 **English**
### **Project Overview**
The **Multilingual Text-to-Speech Converter** is a user-friendly web application built with Streamlit that allows users to convert written text into spoken audio in multiple languages. Leveraging the power of Google's Text-to-Speech (`gTTS`) library, this application provides an accessible way to generate high-quality audio from text inputs, making it ideal for creating audio content, learning languages, or enhancing accessibility.
### **Features**
- **Multilingual Support:** Convert text to speech in various languages, including English, Portuguese, Spanish, French, German, Italian, Japanese, Chinese (Simplified), and Korean.
- **User-Friendly Interface:** Simple and intuitive interface with language selection and text input.
- **Audio Playback:** Listen to the generated audio directly within the application.
- **Download Option:** Download the generated audio files in MP3 format for offline use.
- **Responsive Design:** Accessible on various devices with a centered layout for optimal user experience.### **How to Use**
1. **Enter Text:** Input the text you want to convert to speech in the designated text area.
2. **Select Language:** Choose your preferred language from the dropdown menu.
3. **Generate Audio:** Click the "Speak" button to generate and listen to the audio.
4. **Download Audio:** Optionally, download the generated audio file by clicking the "Download Audio" button.### **Prerequisites**
- **Docker:** Ensure you have Docker installed on your machine to run the application in a containerized environment.
### **Installation & Running with Docker**
1. **Clone the Repository:**
```sh
git clone https://github.com/seu-usuario/seu-repositorio.git
cd seu-repositorio
```2. **Build the Docker Image:**
```sh
docker build -t multilingual-tts-app .
```3. **Run the Docker Container:**
```sh
docker run -d -p 8505:8505 multilingual-tts-app
```4. **Access the Application:**
Open your browser and navigate to [http://localhost:8505](http://localhost:8505) to start using the Multilingual Text-to-Speech Converter.
### **Acknowledgements**
- **[gTTS](https://pypi.org/project/gTTS/):** Google's Text-to-Speech library for Python.
- **[Streamlit](https://streamlit.io/):** The open-source app framework used to create the web application.---
## 🇧🇷 **Português**
### **Visão Geral do Projeto**
O **Conversor de Texto para Fala Multilíngue** é uma aplicação web amigável desenvolvida com Streamlit que permite aos usuários converter texto escrito em áudio falado em vários idiomas. Utilizando a potência da biblioteca Text-to-Speech do Google (`gTTS`), esta aplicação fornece uma maneira acessível de gerar áudio de alta qualidade a partir de entradas de texto, tornando-a ideal para criar conteúdo de áudio, aprender idiomas ou melhorar a acessibilidade.
### **Funcionalidades**
- **Suporte Multilíngue:** Converta texto para fala em diversos idiomas, incluindo Português, Inglês, Espanhol, Francês, Alemão, Italiano, Japonês, Chinês (Simplificado) e Coreano.
- **Interface Amigável:** Interface simples e intuitiva com seleção de idioma e entrada de texto.
- **Reprodução de Áudio:** Ouça o áudio gerado diretamente na aplicação.
- **Opção de Download:** Baixe os arquivos de áudio gerados em formato MP3 para uso offline.
- **Design Responsivo:** Acessível em diversos dispositivos com layout centralizado para uma experiência de usuário otimizada.### **Como Usar**
1. **Digite o Texto:** Insira o texto que você deseja converter em fala na área de texto designada.
2. **Selecione o Idioma:** Escolha o idioma de sua preferência no menu suspenso.
3. **Gerar Áudio:** Clique no botão "Falar" para gerar e ouvir o áudio.
4. **Baixar Áudio:** Opcionalmente, baixe o arquivo de áudio gerado clicando no botão "Baixar Áudio".### **Pré-requisitos**
- **Docker:** Certifique-se de ter o Docker instalado em sua máquina para executar a aplicação em um ambiente containerizado.
### **Instalação e Execução com Docker**
1. **Clone o Repositório:**
```sh
git clone https://github.com/seu-usuario/seu-repositorio.git
cd seu-repositorio
```2. **Construa a Imagem Docker:**
```sh
docker build -t conversor-tts-multilingue .
```3. **Execute o Contêiner Docker:**
```sh
docker run -d -p 8505:8505 conversor-tts-multilingue
```4. **Acesse a Aplicação:**
Abra o seu navegador e vá para [http://localhost:8505](http://localhost:8505) para começar a usar o Conversor de Texto para Fala Multilíngue.
### **Agradecimentos**
- **[gTTS](https://pypi.org/project/gTTS/):** Biblioteca Text-to-Speech do Google para Python.
- **[Streamlit](https://streamlit.io/):** Framework de aplicativos open-source utilizado para criar a aplicação web.---
# 🎉 Getting Started
Whether you're looking to convert text to speech for personal use, educational purposes, or accessibility enhancements, the **Multilingual Text-to-Speech Converter** provides a seamless and efficient solution. Dive in and explore the capabilities of this versatile tool!
# 🎉 Começando
Seja para converter texto em fala para uso pessoal, fins educacionais ou melhorias de acessibilidade, o **Conversor de Texto para Fala Multilíngue** oferece uma solução contínua e eficiente. Comece e explore as capacidades desta ferramenta versátil!
---
# 🛠️ Contributing
Contributions are welcome! If you have suggestions, improvements, or want to report issues, feel free to open an issue or submit a pull request.
# 🛠️ Contribuindo
Contribuições são bem-vindas! Se você tiver sugestões, melhorias ou quiser relatar problemas, sinta-se à vontade para abrir uma issue ou enviar um pull request.
---
# 📄 License
This project is licensed under the [MIT License](LICENSE).
# 📄 Licença
Este projeto está licenciado sob a [Licença MIT](LICENSE).
---
# 📫 Contact
For any inquiries or feedback, please reach out to [nionmaron.com](https://nionmaron.com).
# 📫 Contato
Para quaisquer dúvidas ou feedback, por favor, entre em contato através de [nionmaron.com](https://nionmaron.com).