avimittal30 commited on
Commit
6ac665f
·
verified ·
1 Parent(s): 943a6bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ from transformers import pipeline
3
  import spaces
4
 
5
  # Load the Whisper model from Hugging Face
6
- model = pipeline("automatic-speech-recognition", model="distil-whisper/distil-large-v3", chunk_length_s=30, device=0)
 
7
 
8
  # Function to process audio input and transcribe it
9
  @spaces.GPU
 
3
  import spaces
4
 
5
  # Load the Whisper model from Hugging Face
6
+ model = pipeline("automatic-speech-recognition", model="ylacombe/whisper-large-v3-turbo", chunk_length_s=30, device=0)
7
+ # model = pipeline("automatic-speech-recognition", model="distil-whisper/distil-large-v3", chunk_length_s=30, device=0)
8
 
9
  # Function to process audio input and transcribe it
10
  @spaces.GPU