How saadtariq001s/automatic-speech-recognition works
SpeechScribe is a small Gradio application for speech transcription. Users provide audio through either the microphone or file-upload tab; both routes call the same handler, which invokes a Transformers Whisper pipeline and returns transcription text to the interface. The README documents the input modes and transcription capability; the source excerpt shows the wiring. No separate saving or persistence stage is visible in the provided source.
Main entry points: app.py Transcription handler
Components 7
Gradio interface
- Gradio app
app.py - Microphone input
app.py - Audio upload
app.py - Transcription text
app.py
Speech recognition
- Transcription handler
app.py - Whisper pipeline
app.py
Other components
- User
Connections 8
- Gradio app → Microphone input: registers
app.py - Gradio app → Audio upload: registers
app.py - User → Microphone input: provides audio
app.py - User → Audio upload: provides audio
app.py - Microphone input → Transcription handler: dispatches
app.py - Audio upload → Transcription handler: dispatches
app.py - Transcription handler → Whisper pipeline: transcribes audio
app.py - Transcription handler → Transcription text: returns text
app.py