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