Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def main():
|
|
81 |
st.sidebar.write("Please upload an image")
|
82 |
|
83 |
else:
|
84 |
-
with st.spinner(
|
85 |
if det_arch == 'pytesseract':
|
86 |
predictor = pytesseract.image_to_string(doc)
|
87 |
else:
|
|
|
81 |
st.sidebar.write("Please upload an image")
|
82 |
|
83 |
else:
|
84 |
+
with st.spinner(type(doc)):
|
85 |
if det_arch == 'pytesseract':
|
86 |
predictor = pytesseract.image_to_string(doc)
|
87 |
else:
|