Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -93,13 +93,13 @@ img_file_buffer = st.camera_input("π Capture Your Image Here")
|
|
93 |
if img_file_buffer:
|
94 |
# Display captured image
|
95 |
image = Image.open(img_file_buffer)
|
96 |
-
st.markdown(styled_header("πΈ Your Captured Image:"), unsafe_allow_html=True)
|
97 |
#st.image(image, caption="Captured Image", use_column_width=True)
|
98 |
|
99 |
st.markdown(styled_header("π€ Image Analysis:"), unsafe_allow_html=True)
|
100 |
with st.spinner("π The AI is analyzing your image. Please wait..."):
|
101 |
explanation = explain_image_with_vlm(image)
|
102 |
-
st.success("β¨ Analysis Complete!")
|
103 |
st.write(f"**AI Insight:** {explanation}")
|
104 |
|
105 |
# Footer
|
|
|
93 |
if img_file_buffer:
|
94 |
# Display captured image
|
95 |
image = Image.open(img_file_buffer)
|
96 |
+
#st.markdown(styled_header("πΈ Your Captured Image:"), unsafe_allow_html=True)
|
97 |
#st.image(image, caption="Captured Image", use_column_width=True)
|
98 |
|
99 |
st.markdown(styled_header("π€ Image Analysis:"), unsafe_allow_html=True)
|
100 |
with st.spinner("π The AI is analyzing your image. Please wait..."):
|
101 |
explanation = explain_image_with_vlm(image)
|
102 |
+
#st.success("β¨ Analysis Complete!")
|
103 |
st.write(f"**AI Insight:** {explanation}")
|
104 |
|
105 |
# Footer
|