S-Fry commited on
Commit
e9a563f
1 Parent(s): 41061e4

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -1,5 +1,6 @@
1
  from typing import Dict
2
- from transformers.pipelines.audio_utils import ffmpeg_read, WhisperProcessor, WhisperForConditionalGeneration
 
3
  from datasets import load_dataset
4
 
5
  import torch
 
1
  from typing import Dict
2
+ from transformers import WhisperProcessor, WhisperForConditionalGeneration
3
+ from transformers.pipelines.audio_utils import ffmpeg_read
4
  from datasets import load_dataset
5
 
6
  import torch