Giter Site home page Giter Site logo

overcrash66 / opentranslator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.6 MB

Open Translator: Speech To Speech and Speech to text Translator with voice cloning and other cool features

License: Other

Python 100.00%
audio-translation s2st s2tt multi-platform multilingual speaker-recognition speech-to-text translator autosub coqui-tts gtts-api llama2 whisper-ai xttsv2 torchaudio transformers multimodal

opentranslator's Introduction

Open Translator: Speech To Speech and Speech to text Translator with voice cloning and other cool features

Can be run as Online mode ( connected to internet and make api calls using Google translate - No api keys are needed )

Or Fully Locally (using local LLM's)

Or as a Hybrid mode (mix of Online and one single Local LLM )

Features

  • Translate from and to 17 Languages :

    • The translator supports various languages, including English, Spanish, French, German, Dutch , Japanese, Korean, Turkish, Arabic, Russian, Hebrew, Hindi, Italian, Portuguese, Chinese, Czech and Hungarian.

Options

  • File Menu available options:

  • Convert Audio file to MP3

  • Extract audio from Video

  • YouTube Downloader

  • Replace Audio in Video

  • Video Text Adder

  • Voice Recorder

  • PyTranscriber (shortcut)

  • Exit

Requirements

Make sure you have the following dependencies installed:

  • Python >= 3.10
  • Pip (Python package installer)
  • FFmpeg #Should be installed manually and added to sys env path

Usage

1- Clone the repository:

git clone https://github.com/overcrash66/OpenTranslator.git

2- Navigate to folder:

cd OpenTranslator

3- Create a vitrual env:

py -3.10 -m venv venv
venv\Scripts\activate

4- Install the required Python packages using:

If you would like to use CUDA 118 - GPU:

pip install torch==2.1.2+cu118 torchaudio==2.1.2+cu118 --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt

OR by default you use CPU only:

pip install -r requirements.txt

5- Run the Script:

python OpenTranslator.py

GUI Preview

Redesigned (Custom)

Configuration

  • You can customize the translation models and other settings by modifying the script.

License

This project is licensed under the GPL License - see the LICENSE file for details.

Acknowledgements

Special thanks to: XTTS_V2 whisper v3 Large Llama2-13b-Language-translate autosub gTTS

opentranslator's People

Contributors

overcrash66 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.