Update app/utils.py
Browse files- app/utils.py +1 -0
app/utils.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import os
|
2 |
from transformers import AutoModel, AutoTokenizer
|
3 |
from PIL import Image
|
|
|
4 |
|
5 |
class OCRModel:
|
6 |
_instance = None
|
|
|
1 |
import os
|
2 |
from transformers import AutoModel, AutoTokenizer
|
3 |
from PIL import Image
|
4 |
+
import torch
|
5 |
|
6 |
class OCRModel:
|
7 |
_instance = None
|