kavg commited on
Commit
8d15e4d
·
verified ·
1 Parent(s): 31704b6

Update app.py

Browse files

fixed an error

Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -17,6 +17,5 @@ def OCR(image):
17
 
18
  return generated_text
19
 
20
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
21
  demo = gr.Interface(fn=OCR, inputs=gr.Image(),outputs=gr.Textbox())
22
  demo.launch()
 
17
 
18
  return generated_text
19
 
 
20
  demo = gr.Interface(fn=OCR, inputs=gr.Image(),outputs=gr.Textbox())
21
  demo.launch()