Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from typing import Dict, List, Any
|
2 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
3 |
-
|
4 |
|
5 |
class EndpointHandler():
|
6 |
def __init__(self, path=""):
|
|
|
1 |
from typing import Dict, List, Any
|
2 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
3 |
+
import torch
|
4 |
|
5 |
class EndpointHandler():
|
6 |
def __init__(self, path=""):
|