navidved commited on
Commit
b3bf0e4
·
verified ·
1 Parent(s): d73a8a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ from faster_whisper import WhisperModel
4
  import librosa
5
 
6
  # Load the model
7
- # pipe = pipeline("automatic-speech-recognition", model="navidved/persian-whisper-large-v3-ct2")
8
- model = WhisperModel("navidved/persian-whisper-large-v3-ct2", device="cpu", compute_type="int8", local_files_only=False)
9
 
10
  # Define the maximum audio length in seconds
11
  MAX_AUDIO_LENGTH = 15 # seconds
 
4
  import librosa
5
 
6
  # Load the model
7
+ model = WhisperModel("navidved/Goya-v1-ct2", device="cpu", compute_type="int8", local_files_only=False)
 
8
 
9
  # Define the maximum audio length in seconds
10
  MAX_AUDIO_LENGTH = 15 # seconds