update handler
Browse files- __pycache__/handler.cpython-38.pyc +0 -0
- handler.py +2 -1
__pycache__/handler.cpython-38.pyc
CHANGED
Binary files a/__pycache__/handler.cpython-38.pyc and b/__pycache__/handler.cpython-38.pyc differ
|
|
handler.py
CHANGED
@@ -4,7 +4,8 @@ from transformers import (
|
|
4 |
AutomaticSpeechRecognitionPipeline,
|
5 |
WhisperForConditionalGeneration,
|
6 |
WhisperTokenizer,
|
7 |
-
WhisperProcessor
|
|
|
8 |
)
|
9 |
from peft import LoraConfig, PeftModel, LoraModel, LoraConfig, get_peft_model, PeftConfig
|
10 |
|
|
|
4 |
AutomaticSpeechRecognitionPipeline,
|
5 |
WhisperForConditionalGeneration,
|
6 |
WhisperTokenizer,
|
7 |
+
WhisperProcessor,
|
8 |
+
pipeline
|
9 |
)
|
10 |
from peft import LoraConfig, PeftModel, LoraModel, LoraConfig, get_peft_model, PeftConfig
|
11 |
|