Update handler.py
Browse files- handler.py +2 -1
handler.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from typing import Dict
|
2 |
-
from transformers
|
|
|
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
|