https://github.com/abdullahashfaq-ds/speech-translation-agent
The Speech Translation Agent is a real time application with a Streamlit interface that allows users to select languages, speak, view the translation and hear the agent vocalize the translated text.
https://github.com/abdullahashfaq-ds/speech-translation-agent
googletrans gtts playsound pyaudio python speech-recognition streamlit
Last synced: 4 months ago
JSON representation
The Speech Translation Agent is a real time application with a Streamlit interface that allows users to select languages, speak, view the translation and hear the agent vocalize the translated text.
- Host: GitHub
- URL: https://github.com/abdullahashfaq-ds/speech-translation-agent
- Owner: abdullahashfaq-ds
- License: mit
- Created: 2024-01-29T17:20:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-20T18:31:47.000Z (8 months ago)
- Last Synced: 2024-11-17T10:19:41.289Z (6 months ago)
- Topics: googletrans, gtts, playsound, pyaudio, python, speech-recognition, streamlit
- Language: Python
- Homepage:
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Speech Translation Agent
The Speech Translation Agent is a real-time translation application featuring a Streamlit interface. Users can select languages, speak into the app, view translations instantly, and hear the agent vocalize the translated text.
## Features
- Users can select source and target languages for translation.
- The application records spoken input and translates it into the selected target language.
- The agent vocalizes the translated text, providing audio feedback to enhance user interaction.
- Both the original recorded text and the translated text are displayed on the interface for user convenience.## Streamlit Interface

## Installation and Setup
Follow these steps to set up and run the application:
1. **Clone the Repository**
```bash
git clone [email protected]:abdullahashfaq-ds/Speech-Translation-Agent.git
cd Speech-Translation-Agent
```2. **Create and Activate a Virtual Environment**
For Linux/Mac:
```bash
python -m venv venv
source venv/bin/activate
```For Windows:
```bash
python -m venv venv
venv\Scripts\activate
```3. **Install Dependencies**
```bash
pip install -r requirements.txt
```4. **Run the Streamlit Application**
```bash
streamlit run app.py
```## License
This project is licensed under the [MIT License](LICENSE). See the LICENSE file for more details.