Fix handler.py import
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from typing import Dict, List, Any
|
2 |
from transformers import AutoTokenizer, AutoModel
|
3 |
from optimum.pipelines import pipeline
|
|
|
4 |
|
5 |
import torch
|
6 |
|
|
|
1 |
from typing import Dict, List, Any
|
2 |
from transformers import AutoTokenizer, AutoModel
|
3 |
from optimum.pipelines import pipeline
|
4 |
+
from optimum.onnxruntime import ORTModelForFeatureExtraction
|
5 |
|
6 |
import torch
|
7 |
|