GlobalTranslate Hub is a Streamlit web application that allows users to translate text between different languages and listen to the translated text using text-to-speech (TTS) conversion.
- Text Translation: Translate text from one language to another with support for multiple languages.
- Text-to-Speech (TTS): Convert translated text into speech in the desired language.
- Language Selection: Choose source and destination languages from a list of supported languages.
- Streamlit
- Googletrans
- gTTS
- Tempfile
- Enter the text you want to translate in the input text area.
- Select the source and destination languages from the dropdown menus.
- Click the "Translate" button to translate the text.
- Listen to the translated text by clicking the play button next to it.
- To start over, click the "Clear" button to clear the input text area.
- Clone this repository.
- Install the required dependencies (
streamlit
,googletrans
,gtts
). - Run the Streamlit app using the command
streamlit run main.py
. - Access the app in your web browser at
http://localhost:8501
.