Commit
·
22643bb
1
Parent(s):
74b863b
audio encoded
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, return_timestamps="word")
|
| 44 |
|
| 45 |
return output
|
|
|
|
| 40 |
self.pipeline
|
| 41 |
|
| 42 |
# Model inference
|
| 43 |
+
output = self.pipeline(audio.encode("utf-8"), return_timestamps="word")
|
| 44 |
|
| 45 |
return output
|