imranq / tarteel-musullah

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

Home Page:https://ayatfinder.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://ayatfinder.info


Languages

Language:Jupyter Notebook 94.7%Language:Python 3.0%Language:HTML 1.7%Language:CSS 0.7%