/tarteel-musullah

Detect Qur'an audio and match to ayats in real-time

Primary LanguageJupyter Notebook

Set up

Install requirements

Download Whisper Tarteel model:

https://huggingface.co/tarteel-ai/whisper-base-ar-quran

Install Python Requirements

pip install -r requirements.txt

Run Flask Server:

python3 local_app.py

Alternatively, if you set up a OpenAI key, you can do inference with the hosted version of Whisper by setting your environment variable using this guide and then running python3 hosted_app.py

Navigate to http://127.0.0.1:5000 to use the app!

Todo

Algorithmic approaches

  • Whisper model to transcribe speech to arabic using Tarteel AI
  • Once transcript is retrieved, we use rapidfuzz for the string matching