kasimali67
commited on
Commit
Β·
a2ee367
1
Parent(s):
735d9d3
Force Gradio SDK mode to bypass Docker libgl1-mesa-glx error
Browse files- Dockerfile +0 -33
- README.md +22 -1
Dockerfile
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
FROM python:3.10
|
2 |
-
|
3 |
-
# Create user
|
4 |
-
RUN useradd -m -u 1000 user
|
5 |
-
|
6 |
-
# Install system dependencies (FIXED - use new package names)
|
7 |
-
RUN apt-get update && apt-get install -y \
|
8 |
-
git \
|
9 |
-
git-lfs \
|
10 |
-
ffmpeg \
|
11 |
-
libsm6 \
|
12 |
-
libxext6 \
|
13 |
-
cmake \
|
14 |
-
libgl1 \
|
15 |
-
libglx-mesa0 \
|
16 |
-
libglib2.0-0 \
|
17 |
-
&& rm -rf /var/lib/apt/lists/* \
|
18 |
-
&& git lfs install
|
19 |
-
|
20 |
-
WORKDIR /home/user/app
|
21 |
-
|
22 |
-
# Copy requirements and install Python dependencies
|
23 |
-
COPY --chown=user requirements.txt /home/user/app/
|
24 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
-
|
26 |
-
# Copy application code
|
27 |
-
COPY --chown=user . /home/user/app
|
28 |
-
|
29 |
-
USER user
|
30 |
-
|
31 |
-
EXPOSE 7860
|
32 |
-
|
33 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -4,8 +4,29 @@ emoji: π₯
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: "
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: "4.44.0"
|
8 |
+
python_version: "3.9"
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
license: mit
|
12 |
---
|
13 |
+
|
14 |
+
# π€ Multi-Indic ASR V3
|
15 |
+
|
16 |
+
Advanced Speech Recognition API for **22+ official Indian languages** with FastAPI backend and Swagger UI.
|
17 |
+
|
18 |
+
## π API Access
|
19 |
+
|
20 |
+
- **Swagger API Docs**: `/docs`
|
21 |
+
- **ReDoc API Docs**: `/redoc`
|
22 |
+
- **Health Check**: `/health`
|
23 |
+
- **Transcription**: `/transcribe` (POST an audio file)
|
24 |
+
|
25 |
+
## π― Features
|
26 |
+
- β
Support for **22+ Indian languages**
|
27 |
+
- β
**FastAPI** backend with **Swagger UI**
|
28 |
+
- β
**Script-aware language detection**
|
29 |
+
- β
**Advanced text normalization**
|
30 |
+
- β
**AI4Bharat IndicConformer / IndicWhisper** models
|
31 |
+
|
32 |
+
Built with FastAPI + Uvicorn, running
|