Add missing torch
Browse files- handler.py +2 -0
handler.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
from typing import Any, Dict
|
2 |
from transformers import ViltProcessor, ViltForQuestionAnswering
|
3 |
|
|
|
1 |
+
import torch
|
2 |
+
|
3 |
from typing import Any, Dict
|
4 |
from transformers import ViltProcessor, ViltForQuestionAnswering
|
5 |
|