Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -93,14 +93,14 @@ img_file_buffer = st.camera_input("π Capture Your Image Here")
|
|
93 |
# Text prompt input
|
94 |
user_prompt = st.text_input(
|
95 |
"π Enter your prompt (e.g., 'Explain the image', 'What are the functions in this graph?', 'Describe the scene'):",
|
96 |
-
value="
|
97 |
)
|
98 |
|
99 |
if img_file_buffer and user_prompt:
|
100 |
# Display captured image
|
101 |
image = Image.open(img_file_buffer)
|
102 |
-
st.markdown(styled_header("πΈ Your Captured Image:"), unsafe_allow_html=True)
|
103 |
-
st.image(image, caption="Captured Image"
|
104 |
|
105 |
st.markdown(styled_header("π€ Image Analysis:"), unsafe_allow_html=True)
|
106 |
with st.spinner("π The AI is analyzing your image. Please wait..."):
|
|
|
93 |
# Text prompt input
|
94 |
user_prompt = st.text_input(
|
95 |
"π Enter your prompt (e.g., 'Explain the image', 'What are the functions in this graph?', 'Describe the scene'):",
|
96 |
+
value="Enter your Prompt:"
|
97 |
)
|
98 |
|
99 |
if img_file_buffer and user_prompt:
|
100 |
# Display captured image
|
101 |
image = Image.open(img_file_buffer)
|
102 |
+
#st.markdown(styled_header("πΈ Your Captured Image:"), unsafe_allow_html=True)
|
103 |
+
#st.image(image, caption="Captured Image")
|
104 |
|
105 |
st.markdown(styled_header("π€ Image Analysis:"), unsafe_allow_html=True)
|
106 |
with st.spinner("π The AI is analyzing your image. Please wait..."):
|