Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,42 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
# π§ AI Audio + YouTube Transcriber & Summarizer
|
| 3 |
|
| 4 |
## π Overview
|
| 5 |
-
This app
|
| 6 |
-
- Upload audio
|
| 7 |
-
- Automatically transcribe
|
| 8 |
-
- Generate a summary in **
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
1. Upload these files:
|
| 18 |
- `app.py`
|
| 19 |
- `requirements.txt`
|
| 20 |
-
|
| 21 |
-
- `GROQ_API_KEY`
|
| 22 |
-
- `HUGGINGFACE_API_TOKEN`
|
| 23 |
-
3. Click **Rebuild** and run the Space.
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: π§ Urdu & English Audio Transcriber + Summarizer
|
| 3 |
+
emoji: ποΈ
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.43.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: mit
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
# π§ AI Audio + YouTube Transcriber & Summarizer
|
| 14 |
|
| 15 |
## π Overview
|
| 16 |
+
This app lets you:
|
| 17 |
+
- Upload an **audio file** or paste a **YouTube link**
|
| 18 |
+
- Automatically **transcribe** speech (Urdu or English) using **Groq Whisper**
|
| 19 |
+
- Generate a **summary** in either **Urdu or English**
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## π§ Tech Stack
|
| 24 |
+
| Component | Tool/Model |
|
| 25 |
+
|------------|-------------|
|
| 26 |
+
| ποΈ Transcription | `whisper-large-v3` (Groq API) |
|
| 27 |
+
| π§© Summarization | `facebook/bart-large-cnn` (English) <br> `facebook/mbart-large-50-many-to-many-mmt` (Urdu) |
|
| 28 |
+
| π» Interface | Gradio 4.43 |
|
| 29 |
+
| π Deployment | Hugging Face Spaces |
|
| 30 |
+
| ποΈ YouTube Audio | yt-dlp + ffmpeg |
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## βοΈ Setup Instructions (for Hugging Face Spaces)
|
| 35 |
+
|
| 36 |
1. Upload these files:
|
| 37 |
- `app.py`
|
| 38 |
- `requirements.txt`
|
| 39 |
+
- `README.md`
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
2. Go to **Settings β Variables**
|
| 42 |
+
Add these two environment variables:
|