ZienabM commited on
Commit
4d7290f
1 Parent(s): b6d1465

Update app/utils.py

Browse files
Files changed (1) hide show
  1. 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