Spaces:
Build error
Build error
Commit
·
e566187
1
Parent(s):
8dded73
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import easyocr
|
|
| 3 |
import transformers
|
| 4 |
import torch
|
| 5 |
from torch import cuda
|
|
|
|
| 6 |
|
| 7 |
reader=easyocr.Reader(['en'])
|
| 8 |
# this needs to run only once to load the model into memory
|
|
|
|
| 3 |
import transformers
|
| 4 |
import torch
|
| 5 |
from torch import cuda
|
| 6 |
+
CUDA=None
|
| 7 |
|
| 8 |
reader=easyocr.Reader(['en'])
|
| 9 |
# this needs to run only once to load the model into memory
|