hadxu commited on
Commit
b8c098b
1 Parent(s): 3f105bc

add tiny model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  from faster_whisper import WhisperModel
6
  # tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large-v1, large-v2, large-v3, or large
7
  model_name = 'tiny.en'
8
- model = WhisperModel(model_name, device="cpu")
9
 
10
  ydl_opts = {
11
  'outtmpl': 'demo.m4a',
 
5
  from faster_whisper import WhisperModel
6
  # tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large-v1, large-v2, large-v3, or large
7
  model_name = 'tiny.en'
8
+ model = WhisperModel(model_name, device="cpu", download_root="./models")
9
 
10
  ydl_opts = {
11
  'outtmpl': 'demo.m4a',