slplab commited on
Commit
7d0efeb
1 Parent(s): 853bb53

Update ffmpeg_handler.py

Browse files
Files changed (1) hide show
  1. ffmpeg_handler.py +1 -1
ffmpeg_handler.py CHANGED
@@ -17,7 +17,7 @@ class EndpointHandler:
17
  #processor = AutoProcessor.from_pretrained(path)
18
  #self.pipe = pipeline("automatic-speech-recognition", model=model, tokenizer=processor.feature_extractor, feature_extractor=processor.feature_extractor)
19
  #feature_extractor = WhisperFeatureExtractor.from_pretrained('openai/whisper-large')
20
- self.pipe = pipeline(task='automatic-speech-recognition', model=path, device=)
21
 
22
 
23
 
 
17
  #processor = AutoProcessor.from_pretrained(path)
18
  #self.pipe = pipeline("automatic-speech-recognition", model=model, tokenizer=processor.feature_extractor, feature_extractor=processor.feature_extractor)
19
  #feature_extractor = WhisperFeatureExtractor.from_pretrained('openai/whisper-large')
20
+ self.pipe = pipeline(task='automatic-speech-recognition', model=path)
21
 
22
 
23