spellingdragon commited on
Commit
171330f
1 Parent(s): b053893

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -14,8 +14,8 @@ class EndpointHandler():
14
  )
15
  model.to(device)
16
 
17
- #processor = AutoProcessor.from_pretrained(model_id)
18
- processor = WhisperProcessor.from_pretrained(model_id)
19
 
20
  self.pipeline = pipeline(
21
  "automatic-speech-recognition",
 
14
  )
15
  model.to(device)
16
 
17
+ processor = AutoProcessor.from_pretrained(model_id)
18
+ #processor = WhisperProcessor.from_pretrained(model_id)
19
 
20
  self.pipeline = pipeline(
21
  "automatic-speech-recognition",