LimKopi/Whisper-Audio-Analysis
0
Lim Kopi
This project contains a Gradio app for real-time multilingual speech recognition and sentiment analysis.
Prerequisites
- Python 3.6 or higher
- pip (Python package installer)
- Virtualenv (optional but recommended)
Setup
1. Clone the Repository:
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install
git clone https://huggingface.co/spaces/LimKopi/Whisper-Audio-Analysis
# if you want to clone without large files – just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=12. Environment Setup
Create virtual environment
python3 -m venv venvSet environment variables
Fill in the corresponding credentials accordingly in .env
cp .env.example .envActivate the virtual environment
- On Windows
.\venv\Scripts\activate- On Unix/MacOs
source venv/bin/activate3. Install Dependencies
pip install -r requirements.txt4. Run App
python app.pyOpen http://localhost:7860/ in your browser to access the app
