Indic Conformer ASR Lib
Project description
Shruti
import gradio as gr
from shruti import ShrutiASR , generate_srt
asr = ShrutiASR()
def func(input_audio,type_of_transcribe,lang,batch_size,progress=gr.Progress(track_tqdm=True)):
open("sub.srt","w").write(generate_srt(asr.forward(input_audio,type_of_transcribe,lang,batch_size)))
return "sub.srt"
gr.Interface(func,[gr.Audio(type="filepath"),gr.Dropdown(['sentence', 'char', 'word'],value="word"),gr.Dropdown(asr.language),gr.Slider(1,16,4,step=1)],gr.File()).launch()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shruti-0.1.0.tar.gz
(1.0 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shruti-0.1.0.tar.gz.
File metadata
- Download URL: shruti-0.1.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0649ca6f74d7e8c2a3083e9195af281b6f6a7f640cbc671f4fa55250f621e55c
|
|
| MD5 |
21b6bf82d6f29be7ec27d0f9b1361efa
|
|
| BLAKE2b-256 |
ea1945d980e82d2964c945eca9a198988eed3be848f95ce705116b48a6fe6666
|
File details
Details for the file shruti-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shruti-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baa1bfc672ecda00c26c808bcb290af8d9d2836add20bb2a9afbbc4b5c0959ec
|
|
| MD5 |
f4005412e7386b207c79b2c29d4c90dd
|
|
| BLAKE2b-256 |
77175ec851907a1fe65f059ac36854d835fc835714b197076dfdc188414eb45b
|