Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhinavbammidi1401/translingua_pro
Streamlit application for real-time language translation with support for text input, file uploads, and voice input. Features include language selection, audio feedback, and an interactive interface.
https://github.com/abhinavbammidi1401/translingua_pro
groq-api llm python streamlit webapp
Last synced: 29 days ago
JSON representation
Streamlit application for real-time language translation with support for text input, file uploads, and voice input. Features include language selection, audio feedback, and an interactive interface.
- Host: GitHub
- URL: https://github.com/abhinavbammidi1401/translingua_pro
- Owner: abhinavbammidi1401
- Created: 2024-08-25T13:04:53.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T17:23:37.000Z (2 months ago)
- Last Synced: 2024-09-26T22:01:17.268Z (about 1 month ago)
- Topics: groq-api, llm, python, streamlit, webapp
- Language: Python
- Homepage:
- Size: 1.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TransLingua_Pro
A Streamlit application designed for real-time language translation. The app supports multiple input methods including text input, file uploads, and voice input. Users can translate text between various languages and listen to the translated text through audio feedback. The interface is interactive and features a customizable background.
## Features
- **Real-Time Language Translation**: Enter text and get instant translations between selected languages.
- **File Upload and Translation**: Upload text or Word files for translation.
- **Voice Input Translation**: Record your voice, transcribe it, and translate it to the selected language.
- **Audio Feedback**: Option to listen to the translated text in audio format.
- **Customizable Background**: Set a background image for the app interface.![Alt text](trans.png)
## Installation
1. Clone this repository:
```bash
git clone https://github.com/yourusername/your-repo-name.git
```2. Navigate to the project directory:
```bash
cd your-repo-name
```3. Install the required dependencies:
```bash
pip install -r requirements.txt
```## Usage
1. Set up your environment variables by creating a `.env` file in the project root with the following content:
```
GROQ_API_KEY=your_groq_api_key
```2. Run the Streamlit app:
```bash
streamlit run app.py
```3. Open the app in your web browser at `http://localhost:8501`.
## Dependencies
- `streamlit`
- `langchain_openai`
- `langchain_core`
- `langchain_groq`
- `gtts`
- `speech_recognition`
- `docx`
- `python-dotenv`## Contributing
Feel free to open issues or submit pull requests if you have suggestions or improvements.