Adriaanvh1 commited on
Commit
76fc7e6
·
1 Parent(s): 22643bb

encoder with no invalid chars

Browse files
Files changed (1) hide show
  1. 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("utf-8"), return_timestamps="word")
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