Commit
·
76fc7e6
1
Parent(s):
22643bb
encoder with no invalid chars
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -40,6 +40,6 @@ class EndpointHandler:
|
|
| 40 |
self.pipeline
|
| 41 |
|
| 42 |
# Model inference
|
| 43 |
-
output = self.pipeline(audio.encode("
|
| 44 |
|
| 45 |
return output
|
|
|
|
| 40 |
self.pipeline
|
| 41 |
|
| 42 |
# Model inference
|
| 43 |
+
output = self.pipeline(audio.encode("latin-1"), return_timestamps="word")
|
| 44 |
|
| 45 |
return output
|