May222 commited on
Commit
f744b73
1 Parent(s): 8b1afd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def main():
51
  st.sidebar.write("Please upload an image")
52
 
53
  else:
54
- with st.spinner(type(doc)):
55
  if det_arch == 'pytesseract':
56
  predictor = pytesseract.image_to_string(Image.open(BytesIO(doc)))
57
  else:
 
51
  st.sidebar.write("Please upload an image")
52
 
53
  else:
54
+ with st.spinner("Loading model..."):
55
  if det_arch == 'pytesseract':
56
  predictor = pytesseract.image_to_string(Image.open(BytesIO(doc)))
57
  else: