KAPtechies commited on
Commit
5ff6247
·
1 Parent(s): 9f6e32c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  import easyocr
3
  import transformers
 
 
4
 
5
  reader=easyocr.Reader(['en'])
6
  # this needs to run only once to load the model into memory
 
1
  import gradio as gr
2
  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