Update pages/Image-scan.py
Browse files- pages/Image-scan.py +0 -4
pages/Image-scan.py
CHANGED
|
@@ -9,9 +9,6 @@ with open('styles.css') as f:
|
|
| 9 |
|
| 10 |
st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
|
| 11 |
|
| 12 |
-
# Setup Logging
|
| 13 |
-
setup_logging()
|
| 14 |
-
|
| 15 |
## LOGO and TITLE
|
| 16 |
## -------------------------------------------------------------------------------------------
|
| 17 |
# Show the logo and title side by side
|
|
@@ -68,5 +65,4 @@ if "temp_img_path" in st.session_state and st.session_state['uploaded_image'] ==
|
|
| 68 |
formatted_response = utils.format_response(response.text)
|
| 69 |
st.markdown(formatted_response)
|
| 70 |
except Exception as e:
|
| 71 |
-
log_error(str(e))
|
| 72 |
st.switch_page("error.py")
|
|
|
|
| 9 |
|
| 10 |
st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
## LOGO and TITLE
|
| 13 |
## -------------------------------------------------------------------------------------------
|
| 14 |
# Show the logo and title side by side
|
|
|
|
| 65 |
formatted_response = utils.format_response(response.text)
|
| 66 |
st.markdown(formatted_response)
|
| 67 |
except Exception as e:
|
|
|
|
| 68 |
st.switch_page("error.py")
|