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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import librosa
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 = 30 # seconds
12
 
13
  # Define the inference function
14
  def transcribe_audio(audio):
 
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
12
 
13
  # Define the inference function
14
  def transcribe_audio(audio):