Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,68 +1,55 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: RecToTextPro
|
| 3 |
-
emoji: π
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: red
|
| 6 |
-
sdk: streamlit
|
| 7 |
-
app_port: 8501
|
| 8 |
-
tags:
|
| 9 |
-
- streamlit
|
| 10 |
-
pinned: false
|
| 11 |
-
short_description: Recording to Text
|
| 12 |
-
license: mit
|
| 13 |
-
sdk_version: 1.55.0
|
| 14 |
-
---
|
| 15 |
# π€ RecToText Pro β Intelligent Lecture Transcriber
|
| 16 |
|
| 17 |
-
RecToText Pro is an AI-powered web application that converts mixed Urdu and English lecture recordings into structured text
|
| 18 |
-
|
| 19 |
-
---
|
| 20 |
|
| 21 |
## π Features
|
| 22 |
|
| 23 |
-
- Upload
|
| 24 |
-
- Automatic Urdu + English
|
| 25 |
-
-
|
| 26 |
- Roman Urdu or English output
|
| 27 |
-
-
|
| 28 |
-
- Excel export
|
| 29 |
-
- Word
|
| 30 |
-
-
|
| 31 |
-
-
|
| 32 |
-
|
| 33 |
-
-
|
| 34 |
|
| 35 |
## π Tech Stack
|
| 36 |
|
| 37 |
- Python
|
| 38 |
- Streamlit
|
| 39 |
-
-
|
| 40 |
- openpyxl
|
|
|
|
| 41 |
- pydub
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
1. Create a new Space
|
| 48 |
-
2. Choose Streamlit SDK
|
| 49 |
-
3. Upload:
|
| 50 |
- app.py
|
| 51 |
- requirements.txt
|
| 52 |
- README.md
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
---
|
| 57 |
|
| 58 |
## π» Run Locally
|
| 59 |
|
| 60 |
-
|
| 61 |
-
pip install -r requirements.txt
|
| 62 |
streamlit run app.py
|
| 63 |
-
# Welcome to Streamlit!
|
| 64 |
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π€ RecToText Pro β Intelligent Lecture Transcriber
|
| 2 |
|
| 3 |
+
RecToText Pro is an AI-powered web application that converts mixed Urdu and English lecture recordings into structured, clean text output.
|
|
|
|
|
|
|
| 4 |
|
| 5 |
## π Features
|
| 6 |
|
| 7 |
+
- Upload MP3, WAV, M4A, AAC files (Up to 200MB)
|
| 8 |
+
- Automatic Urdu + English detection
|
| 9 |
+
- Long audio (30β60 min) supported
|
| 10 |
- Roman Urdu or English output
|
| 11 |
+
- Clean paragraph formatting
|
| 12 |
+
- Excel export with timestamps
|
| 13 |
+
- Word export with clean story formatting
|
| 14 |
+
- Language detection
|
| 15 |
+
- Word count
|
| 16 |
+
- Processing time display
|
| 17 |
+
- Hugging Face CPU compatible
|
| 18 |
|
| 19 |
## π Tech Stack
|
| 20 |
|
| 21 |
- Python
|
| 22 |
- Streamlit
|
| 23 |
+
- faster-whisper (Whisper Open-Source Model)
|
| 24 |
- openpyxl
|
| 25 |
+
- python-docx
|
| 26 |
- pydub
|
| 27 |
|
| 28 |
+
## π¦ Deployment on Hugging Face
|
| 29 |
|
| 30 |
+
1. Create new Streamlit Space
|
| 31 |
+
2. Upload:
|
|
|
|
|
|
|
|
|
|
| 32 |
- app.py
|
| 33 |
- requirements.txt
|
| 34 |
- README.md
|
| 35 |
+
3. Add a file named `packages.txt` containing:
|
| 36 |
+
ffmpeg
|
| 37 |
+
4. Commit and wait for build
|
|
|
|
| 38 |
|
| 39 |
## π» Run Locally
|
| 40 |
|
| 41 |
+
pip install -r requirements.txt
|
|
|
|
| 42 |
streamlit run app.py
|
|
|
|
| 43 |
|
| 44 |
+
## β‘ Model Selection
|
| 45 |
+
|
| 46 |
+
- base β Faster, moderate accuracy
|
| 47 |
+
- small β Better accuracy, slightly slower
|
| 48 |
+
|
| 49 |
+
For CPU deployment, base is recommended.
|
| 50 |
+
|
| 51 |
+
## π Notes
|
| 52 |
|
| 53 |
+
- Supports long lecture recordings.
|
| 54 |
+
- AAC format supported.
|
| 55 |
+
- Optimized for Hugging Face CPU Spaces.
|