https://github.com/felipesanchez-dev/intervoz-
VozLingua is an AI-powered voice translation application that converts audio in Spanish to text and translates it into English, Italian, French, and Japanese. It utilizes advanced voice recognition and audio synthesis technology to facilitate communication across language barriers.
https://github.com/felipesanchez-dev/intervoz-
inteligencia-artificial traduction
Last synced: over 1 year ago
JSON representation
VozLingua is an AI-powered voice translation application that converts audio in Spanish to text and translates it into English, Italian, French, and Japanese. It utilizes advanced voice recognition and audio synthesis technology to facilitate communication across language barriers.
- Host: GitHub
- URL: https://github.com/felipesanchez-dev/intervoz-
- Owner: felipesanchez-dev
- Created: 2024-11-02T11:13:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T11:25:30.000Z (over 1 year ago)
- Last Synced: 2024-11-02T12:20:54.364Z (over 1 year ago)
- Topics: inteligencia-artificial, traduction
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://git.io/typing-svg)
# Voice Translator
## Description
This project uses artificial intelligence to transcribe an audio file in Spanish, translate it into several languages (English, Italian, French, and Japanese), and convert the translations into audio files. It is built using Gradio, Whisper, and the ElevenLabs API.
## Setup
Obtain your ElevenLabs API key and replace "Your ElevenLabs API key here" in the file with your generated key from ElevenLabs .
Ensure you have the Wisper model and the necessary libraries installed.
## Functionality
The main workflow of the application is as follows:
* `Transcription:` The user records or uploads an audio file in Spanish.
* `Translation:` The transcribed text is translated into English, Italian, French, and Japanese.
* `Audio Conversion:` The translations are converted into audio files and returned to the user.
## Main Functions
* `translator(audio_file):` Main function that handles the transcription and translation of the audio.
* `text_to_speach(text, language):` Converts text to speech using the ElevenLabs API.
## Virtualization Guide
If you want to virtualize your Python environment, follow the instructions for your operating system below.
### MacOS
1. **Open your terminal.**
2. **Navigate to your project directory:**
```bash
$ cd /path/to/your/project
```
3. **Create a virtual environment:**
```bash
$ python3 -m venv venv
```
4. **Activate the virtual environment:**
```bash
$ source venv/bin/activate
```
5. **To deactivate the virtual environment, simply run:**
```bash
$ deactivate
```
### Windows
1. **Open your terminal.**
2. **Navigate to your project directory:**
```bash
$ cd C:\path\to\your\project
```
3. **Create a virtual environment:**
```bash
$ python3 -m venv venv
```
4. **Activate the virtual environment:**
```bash
$ venv\Scripts\activate
```
5. **To deactivate the virtual environment, simply run:**
```bash
$ deactivate
```
### Linux
1. **Open your terminal.**
2. **Navigate to your project directory:**
```bash
$ cd C:\path\to\your\project
```
3. **Create a virtual environment:**
```bash
$ python3 -m venv venv
```
4. **Activate the virtual environment:**
```bash
$ source venv/bin/activate
```
5. **To deactivate the virtual environment, simply run:**
```bash
$ deactivate
```
## Requirements
Make sure you have the following Python packages installed:
- `gradio`
- `whisper`
- `translate`
- `elevenlabs`
#### Define ElevenLabs API Key
`ELEVENLABS_API_KEY = "Your ElevenLabs API key here"`

### You can install the dependencies using "pip":
```bash
$ pip install gradio whisper translate elevenlab
```
## CONTRIBUTIONS
`Contributions are welcome. Feel free to open an issue or submit a pull request.`
## LICENSE
This project is licensed under the MIT License. See the LICENSE file for more details.
## CONTACT ME
[
](https://www.instagram.com/felipesanchez_dev/)
[
](mailto:jfelipe9.121@gmail.com)
[
](https://www.linkedin.com/in/felipereyessa/)