Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ if img_file:
|
|
149 |
# st.subheader("Output: Preview and Analyze")
|
150 |
# # _ = cropped_img.thumbnail((150, 150))
|
151 |
# st.image(cropped_img)
|
152 |
-
|
153 |
|
154 |
if button:
|
155 |
with st.spinner('Running OCR...'):
|
|
|
149 |
# st.subheader("Output: Preview and Analyze")
|
150 |
# # _ = cropped_img.thumbnail((150, 150))
|
151 |
# st.image(cropped_img)
|
152 |
+
button = st.sidebar.button("Run OCR")
|
153 |
|
154 |
if button:
|
155 |
with st.spinner('Running OCR...'):
|