Update handler.py
Browse files- 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("
|
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]:
|