DefenceX is a web application designed to analyze phone calls for potential scams. It utilizes audio transcription and advanced analysis techniques to provide users with insights into the nature of their calls.
- Upload audio files for analysis.
- Convert audio to WAV format.
- Transcribe audio using Google Cloud's Speech-to-Text API.
- Analyze transcripts for suspicious content using the Gemini API.
- Render results on a user-friendly web interface.
- Clone the repository:
git clone https://github.com/Bb-03/DefenceX.git cd DefenceX - Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
- Set up Google Cloud credentials and environment variables as needed.
- Run the application:
python server.py
- Open your web browser and navigate to
http://localhost:5000. - Upload audio files and select the language for transcription.
- Review the analysis results displayed on the web interface.
Make sure to set up your Google Cloud and Gemini API keys. Update the relevant environment variables in your application.
This project is licensed under the MIT License - see the LICENSE file for details.