Skip to content

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.

Notifications You must be signed in to change notification settings

abhinavbammidi1401/TransLingua_Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/your-repo-name.git
  2. Navigate to the project directory:

    cd your-repo-name
  3. Install the required dependencies:

    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:

    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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published