Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def main():
|
|
| 51 |
st.sidebar.write("Please upload an image")
|
| 52 |
|
| 53 |
else:
|
| 54 |
-
with st.spinner(
|
| 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:
|