srd4 commited on
Commit
b92adf3
1 Parent(s): 51657dd

Update handler.py

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