Andrewwwwww
commited on
Commit
•
6474746
1
Parent(s):
425300b
Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
|
2 |
from modelscope import AutoModelForCausalLM, AutoTokenizer
|
3 |
-
|
4 |
|
5 |
class EndpointHandler:
|
6 |
def __init__(self, path=""):
|
|
|
1 |
+
from typing import Dict, List, Any
|
2 |
from modelscope import AutoModelForCausalLM, AutoTokenizer
|
3 |
+
import torch
|
4 |
|
5 |
class EndpointHandler:
|
6 |
def __init__(self, path=""):
|