CoolFace
Apppublic

LimKopi/Whisper-Audio-Analysis

sourceHugging Faceopenrailupdated 3y agoView on Hugging Face
0likes
App README

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:

sh
# 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=1

2. Environment Setup

Create virtual environment

sh
python3 -m venv venv

Set environment variables

Fill in the corresponding credentials accordingly in .env

sh
cp .env.example .env
Activate the virtual environment
  • —On Windows
sh
.\venv\Scripts\activate
  • —On Unix/MacOs
sh
source venv/bin/activate

3. Install Dependencies

sh
pip install -r requirements.txt

4. Run App

sh
python app.py

Open http://localhost:7860/ in your browser to access the app