Commit
·
a95b4c2
1
Parent(s):
28b840e
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -17,7 +17,7 @@ class EndpointHandler():
|
|
| 17 |
|
| 18 |
self.pipeline = pipeline(
|
| 19 |
"automatic-speech-recognition",
|
| 20 |
-
model=model,
|
| 21 |
tokenizer=processor.tokenizer,
|
| 22 |
feature_extractor=processor.feature_extractor,
|
| 23 |
max_new_tokens=128,
|
|
|
|
| 17 |
|
| 18 |
self.pipeline = pipeline(
|
| 19 |
"automatic-speech-recognition",
|
| 20 |
+
model=self.model,
|
| 21 |
tokenizer=processor.tokenizer,
|
| 22 |
feature_extractor=processor.feature_extractor,
|
| 23 |
max_new_tokens=128,
|