srd4 commited on
Commit
52fd856
1 Parent(s): 4d5673d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -9,7 +9,7 @@ SAMPLE_RATE = 16000
9
  class EndpointHandler():
10
  def __init__(self, path=""):
11
  # load the model
12
- self.model = whisper.load_model("large")
13
 
14
 
15
  def __call__(self, data: Dict[str, bytes]) -> Dict[str, str]:
 
9
  class EndpointHandler():
10
  def __init__(self, path=""):
11
  # load the model
12
+ self.model = whisper.load_model("medium")
13
 
14
 
15
  def __call__(self, data: Dict[str, bytes]) -> Dict[str, str]: