--- title: "English Accent Classifier!" emoji: "🎤" colorFrom: red colorTo: pink sdk: gradio sdk_version: 5.30.0 app_file: app.py pinned: false license: other short_description: Detects & classifies accents of English speakers. --- English Accent Classifier! How it works? 1) Takes video url or video file 2) Converts it into audio 3) Uses `whisper-tiny` to know which language is being spoken 4) If video language is english then uses speech brain's accent id classifier to show speaker accent along with confidence score. Q: What if my transformer version doesn't expose `return_language` for `whisper-tiny`? A: Then it will approximate the language by counting which language's tokens it is using the most.