rahkarit commited on
Commit
2da20b4
1 Parent(s): 9ba2a1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
8
  import tempfile
9
  import os
10
 
11
- MODEL_NAME = "openai/whisper-large-v3"
12
  BATCH_SIZE = 8
13
  FILE_LIMIT_MB = 1000
14
  YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files
 
8
  import tempfile
9
  import os
10
 
11
+ MODEL_NAME = "jonatasgrosman/wav2vec2-large-xlsr-53-persian"
12
  BATCH_SIZE = 8
13
  FILE_LIMIT_MB = 1000
14
  YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files