Kabilash10 commited on
Commit
b090a54
1 Parent(s): 208b75a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,8 +1,7 @@
1
  import streamlit as st
2
  from PIL import Image
3
  from transformers import TrOCRProcessor, VisionEncoderDecoderModel
4
- import requests
5
- import io
6
 
7
  # Load the OCR model and processor
8
  model_name = "microsoft/trocr-base-stage1"
 
1
  import streamlit as st
2
  from PIL import Image
3
  from transformers import TrOCRProcessor, VisionEncoderDecoderModel
4
+ import torch
 
5
 
6
  # Load the OCR model and processor
7
  model_name = "microsoft/trocr-base-stage1"