navidved commited on
Commit
f8e2f48
·
verified ·
1 Parent(s): 8f10bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,10 +4,10 @@ from faster_whisper import WhisperModel
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 = 35 # seconds
11
 
12
  # Define the inference function
13
  def transcribe_audio(audio):
 
4
  import librosa
5
 
6
  # Load the model
7
+ model = WhisperModel("navidved/faster-gooya-v1", device="cpu", compute_type="int8", local_files_only=False)
8
 
9
  # Define the maximum audio length in seconds
10
+ MAX_AUDIO_LENGTH = 30 # seconds
11
 
12
  # Define the inference function
13
  def transcribe_audio(audio):